John Cowen 002797af82 ui: Remove WithSearching mixin, use helpers instead (#7961)
* ui: Remove WithSearching mixin, use composable helpers instead
2020-06-03 16:46:53 +00:00

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);
},
},
});