1
0
Fork 0
discourse-custom-wizard-unl.../assets/javascripts/wizard/routes/custom-index.js.es6

8 Zeilen
212 B
JavaScript

import IndexRoute from 'wizard/routes/index';
export default IndexRoute.extend({
beforeModel() {
const appModel = this.modelFor('application');
this.replaceWith('custom.step', appModel.start);
}
});