Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
import { default as ApplicationAdapter, namespace } from './application';
import classic from 'ember-classic-decorator';
@classic
export default class PolicyAdapter extends ApplicationAdapter {
namespace = namespace + '/acl';
urlForCreateRecord(_modelName, model) {
return this.urlForUpdateRecord(model.attr('name'), 'policy');
}
urlForDeleteRecord(id) {
return this.urlForUpdateRecord(id, 'policy');