open-consul/ui-v2/app/controllers/dc/acls/index.js

18 lines
297 B
JavaScript

import Controller from '@ember/controller';
export default Controller.extend({
queryParams: {
filterBy: {
as: 'type',
},
search: {
as: 'filter',
replace: true,
},
},
actions: {
sendClone: function(item) {
this.send('clone', item);
},
},
});