Revision ac756972
Added by Ivan Necas over 10 years ago
engines/bastion/app/assets/javascripts/bastion/content-views/content-view.factory.js | ||
---|---|---|
['$resource', 'CurrentOrganization',
|
||
function ($resource, CurrentOrganization) {
|
||
|
||
return $resource('/katello/api/v2/content_views/:id/:action',
|
||
return $resource('/api/v2/content_views/:id/:action',
|
||
{id: '@id', 'organization_id': CurrentOrganization},
|
||
{
|
||
query: {method: 'GET', isArray: false},
|
Also available in: Unified diff
Update the paths to content-view api
Otherwise `/katello/katello/content_views` was used