import AuthenticatedRoute from 'ghost/routes/authenticated'; import styleBody from 'ghost/mixins/style-body'; var EditorNewRoute = AuthenticatedRoute.extend(styleBody, { classNames: ['editor'], model: function () { return this.store.createRecord('post', { title: '' }); } }); export default EditorNewRoute;