0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/client/app/routes/setup/three.js

10 lines
226 B
JavaScript
Raw Normal View History

import Ember from 'ember';
export default Ember.Route.extend({
beforeModel: function () {
if (!this.controllerFor('setup.two').get('blogCreated')) {
this.transitionTo('setup.two');
}
}
});