2019-02-22 06:17:33 +03:00
|
|
|
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
|
|
|
|
2022-01-17 12:34:55 +03:00
|
|
|
export default class IndexRoute extends AuthenticatedRoute {
|
2019-02-22 06:17:33 +03:00
|
|
|
beforeModel() {
|
2022-01-17 12:34:55 +03:00
|
|
|
super.beforeModel(...arguments);
|
2019-02-22 06:17:33 +03:00
|
|
|
this.replaceWith('editor.new', 'post');
|
|
|
|
}
|
2022-01-17 12:34:55 +03:00
|
|
|
}
|