Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- angular.module('Bastion.content-views').factory('Rule',
- ['BastionResource', function (BastionResource) {
- return BastionResource('/katello/api/v2/content_view_filters/:filterId/rules/:ruleId',
- {ruleId: '@id', filterId: '@content_view_filter_id'},
- {
- update: {method: 'PUT'},
- autocomplete: {method: 'GET', isArray: true, params: {id: 'auto_complete_search'}}
- }
- );
- }]
- );
- ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement