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
|
|
|
|
2022-01-17 12:34:55 +03:00
|
|
|
export default class SiteRoute extends AuthenticatedRoute {
|
|
|
|
@service config;
|
|
|
|
@service settings;
|
|
|
|
@service ui;
|
2019-06-18 13:47:21 +03:00
|
|
|
|
2022-01-17 12:34:55 +03:00
|
|
|
_hasLoggedIn = false;
|
2019-08-12 11:11:10 +03:00
|
|
|
|
2019-03-21 20:55:58 +03:00
|
|
|
model() {
|
|
|
|
return (new Date()).valueOf();
|
2022-01-17 12:34:55 +03:00
|
|
|
}
|
2019-05-20 18:16:19 +03:00
|
|
|
|
|
|
|
buildRouteInfoMetadata() {
|
|
|
|
return {
|
|
|
|
titleToken: 'Site'
|
|
|
|
};
|
2019-03-21 20:55:58 +03:00
|
|
|
}
|
2022-01-17 12:34:55 +03:00
|
|
|
}
|