2018-05-22 15:03:45 +00:00
|
|
|
import Controller from '@ember/controller';
|
2020-02-21 14:00:33 +00:00
|
|
|
import WithEventSource from 'consul-ui/mixins/with-event-source';
|
2020-05-29 15:42:46 +00:00
|
|
|
export default Controller.extend(WithEventSource, {
|
2018-05-22 15:03:45 +00:00
|
|
|
queryParams: {
|
2020-05-29 15:42:46 +00:00
|
|
|
filterBy: {
|
2018-05-22 15:03:45 +00:00
|
|
|
as: 'action',
|
|
|
|
},
|
2020-05-29 15:42:46 +00:00
|
|
|
search: {
|
2018-05-22 15:03:45 +00:00
|
|
|
as: 'filter',
|
|
|
|
replace: true,
|
|
|
|
},
|
|
|
|
},
|
2020-04-01 08:55:49 +00:00
|
|
|
actions: {
|
|
|
|
route: function() {
|
|
|
|
this.send(...arguments);
|
|
|
|
},
|
|
|
|
},
|
2018-05-22 15:03:45 +00:00
|
|
|
});
|