mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 19:02:29 +03:00
d6c22df6d7
no issue - added `page` model - removed `page` param from Post model - added pages screen with associated links - added `:type` param to editor screens to work with the right models - removed post<->page toggle and associated tour item
9 lines
224 B
JavaScript
9 lines
224 B
JavaScript
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
|
|
|
export default AuthenticatedRoute.extend({
|
|
beforeModel() {
|
|
this._super(...arguments);
|
|
this.replaceWith('editor.new', 'post');
|
|
}
|
|
});
|