2024-01-25 15:41:54 +03:00
|
|
|
// import AdminRoute from 'ghost-admin/routes/admin';
|
|
|
|
// import {inject as service} from '@ember/service';
|
2021-10-04 14:01:12 +03:00
|
|
|
|
2024-01-25 15:41:54 +03:00
|
|
|
// export default class offersRoute extends AdminRoute {
|
|
|
|
// @service store;
|
|
|
|
// @service feature;
|
2021-10-06 17:29:15 +03:00
|
|
|
|
2024-01-25 15:41:54 +03:00
|
|
|
// queryParams = {
|
|
|
|
// type: {refreshModel: true}
|
|
|
|
// };
|
2021-10-13 18:53:21 +03:00
|
|
|
|
2024-01-25 15:41:54 +03:00
|
|
|
// beforeModel() {
|
|
|
|
// super.beforeModel(...arguments);
|
|
|
|
// // TODO: redirect if members is disabled?
|
|
|
|
// }
|
2021-10-06 17:29:15 +03:00
|
|
|
|
2024-01-25 15:41:54 +03:00
|
|
|
// model(params) {
|
|
|
|
// return this.controllerFor('offers').fetchOffersTask.perform(params);
|
|
|
|
// }
|
2021-10-06 17:29:15 +03:00
|
|
|
|
2024-01-25 15:41:54 +03:00
|
|
|
// // trigger a background load of members plus labels for filter dropdown
|
|
|
|
// setupController() {
|
|
|
|
// super.setupController(...arguments);
|
|
|
|
// }
|
2021-10-06 17:29:15 +03:00
|
|
|
|
2024-01-25 15:41:54 +03:00
|
|
|
// buildRouteInfoMetadata() {
|
|
|
|
// return {
|
|
|
|
// titleToken: 'Offers'
|
|
|
|
// };
|
|
|
|
// }
|
|
|
|
// }
|