Advertisement
Guest User

Untitled

a guest
Jul 6th, 2015
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. angular.module('Bastion.content-views').factory('Rule',
  2. ['BastionResource', function (BastionResource) {
  3.  
  4. return BastionResource('/katello/api/v2/content_view_filters/:filterId/rules/:ruleId',
  5. {ruleId: '@id', filterId: '@content_view_filter_id'},
  6. {
  7. update: {method: 'PUT'},
  8. autocomplete: {method: 'GET', isArray: true, params: {id: 'auto_complete_search'}}
  9. }
  10. );
  11.  
  12. }]
  13. );
  14. ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement