discourse/app/assets/javascripts/wizard/routes/index.js.es6

7 lines
159 B
JavaScript

export default Ember.Route.extend({
beforeModel() {
const appModel = this.modelFor("application");
this.replaceWith("step", appModel.start);
}
});