2019-03-21 12:33:14 +03:00
|
|
|
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
2019-06-18 13:47:21 +03:00
|
|
|
import {inject as service} from '@ember/service';
|
2019-03-21 12:33:14 +03:00
|
|
|
|
2019-05-20 16:15:46 +03:00
|
|
|
export default AuthenticatedRoute.extend({
|
2019-06-18 13:47:21 +03:00
|
|
|
|
|
|
|
ui: service(),
|
|
|
|
|
2019-03-21 20:55:58 +03:00
|
|
|
model() {
|
|
|
|
return (new Date()).valueOf();
|
2019-05-20 18:16:19 +03:00
|
|
|
},
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
activate() {
|
|
|
|
this._super(...arguments);
|
|
|
|
},
|
|
|
|
|
|
|
|
deactivate() {
|
|
|
|
this._super(...arguments);
|
|
|
|
},
|
|
|
|
|
2019-05-20 18:16:19 +03:00
|
|
|
buildRouteInfoMetadata() {
|
|
|
|
return {
|
|
|
|
titleToken: 'Site'
|
|
|
|
};
|
2019-03-21 20:55:58 +03:00
|
|
|
}
|
2019-03-21 12:33:14 +03:00
|
|
|
});
|