Ghost/ghost/admin/app/routes/editor/index.js

9 lines
170 B
JavaScript

import Route from 'ember-route';
export default Route.extend({
beforeModel() {
this._super(...arguments);
this.transitionTo('editor.new');
}
});