mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 13:54:35 +03:00
11 lines
250 B
JavaScript
11 lines
250 B
JavaScript
import Route from 'ember-route';
|
|
|
|
export default Route.extend({
|
|
beforeModel() {
|
|
this._super(...arguments);
|
|
if (!this.controllerFor('setup.two').get('blogCreated')) {
|
|
this.transitionTo('setup.two');
|
|
}
|
|
}
|
|
});
|