2022-01-17 13:05:27 +03:00
|
|
|
import AdminRoute from 'ghost-admin/routes/admin';
|
2017-10-30 12:38:01 +03:00
|
|
|
import {inject as service} from '@ember/service';
|
2014-12-01 14:39:11 +03:00
|
|
|
|
2022-01-17 12:34:55 +03:00
|
|
|
export default class LabsRoute extends AdminRoute {
|
|
|
|
@service settings;
|
|
|
|
@service notifications;
|
2014-12-01 14:39:11 +03:00
|
|
|
|
2015-10-28 14:36:45 +03:00
|
|
|
model() {
|
2019-03-06 16:53:54 +03:00
|
|
|
return this.settings.reload();
|
2022-01-17 12:34:55 +03:00
|
|
|
}
|
2017-05-24 16:36:59 +03:00
|
|
|
|
|
|
|
resetController(controller, isExiting) {
|
|
|
|
if (isExiting) {
|
|
|
|
controller.reset();
|
|
|
|
}
|
2022-01-17 12:34:55 +03:00
|
|
|
}
|
2019-05-20 18:16:19 +03:00
|
|
|
|
|
|
|
buildRouteInfoMetadata() {
|
|
|
|
return {
|
|
|
|
titleToken: 'Settings - Labs'
|
|
|
|
};
|
2014-12-01 14:39:11 +03:00
|
|
|
}
|
2022-01-17 12:34:55 +03:00
|
|
|
}
|