0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-09-20 07:41:11 +02:00
discourse-custom-wizard/assets/javascripts/wizard/routes/custom-index.js.es6

9 Zeilen
212 B
Text

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