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