mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 19:33:02 +03:00
9 lines
252 B
JavaScript
9 lines
252 B
JavaScript
|
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
||
|
|
||
|
export default class IndexRoute extends AuthenticatedRoute {
|
||
|
beforeModel() {
|
||
|
super.beforeModel(...arguments);
|
||
|
this.replaceWith('react-editor.new', 'post');
|
||
|
}
|
||
|
}
|