mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 14:26:41 +08:00
9 lines
223 B
JavaScript
9 lines
223 B
JavaScript
|
import DiscourseRoute from "discourse/routes/discourse";
|
||
|
|
||
|
export default DiscourseRoute.extend({
|
||
|
beforeModel() {
|
||
|
const appModel = this.modelFor("wizard");
|
||
|
this.replaceWith("wizard.step", appModel.start);
|
||
|
},
|
||
|
});
|