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

8 lines
195 B
JavaScript

import Route from "@ember/routing/route";
export default Route.extend({
beforeModel() {
const appModel = this.modelFor("application");
this.replaceWith("step", appModel.start);
}
});