mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
no issue - Fixes the editor view so that the layout is correct - Remove default title - Fixes a couple of scoping issues with notifications
19 lines
445 B
JavaScript
19 lines
445 B
JavaScript
import AuthenticatedRoute from 'ghost/routes/authenticated';
|
|
import styleBody from 'ghost/mixins/style-body';
|
|
|
|
var NewRoute = AuthenticatedRoute.extend(styleBody, {
|
|
controllerName: 'posts.post',
|
|
classNames: ['editor'],
|
|
|
|
renderTemplate: function () {
|
|
this.render('editor');
|
|
},
|
|
|
|
model: function () {
|
|
return this.store.createRecord('post', {
|
|
title: ''
|
|
});
|
|
}
|
|
});
|
|
|
|
export default NewRoute;
|