mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 14:43:08 +03:00
0c95111f8e
no issue - Offers rebuilt in React and now located in Settings.
32 lines
811 B
JavaScript
32 lines
811 B
JavaScript
// import AdminRoute from 'ghost-admin/routes/admin';
|
|
// import {inject as service} from '@ember/service';
|
|
|
|
// export default class offersRoute extends AdminRoute {
|
|
// @service store;
|
|
// @service feature;
|
|
|
|
// queryParams = {
|
|
// type: {refreshModel: true}
|
|
// };
|
|
|
|
// beforeModel() {
|
|
// super.beforeModel(...arguments);
|
|
// // TODO: redirect if members is disabled?
|
|
// }
|
|
|
|
// model(params) {
|
|
// return this.controllerFor('offers').fetchOffersTask.perform(params);
|
|
// }
|
|
|
|
// // trigger a background load of members plus labels for filter dropdown
|
|
// setupController() {
|
|
// super.setupController(...arguments);
|
|
// }
|
|
|
|
// buildRouteInfoMetadata() {
|
|
// return {
|
|
// titleToken: 'Offers'
|
|
// };
|
|
// }
|
|
// }
|