mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
This reverts commit 33db93c9b2.
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
import DiscourseRoute from "discourse/routes/discourse";
|
||||
import { inject as service } from "@ember/service";
|
||||
|
||||
export default DiscourseRoute.extend({
|
||||
router: service(),
|
||||
|
||||
beforeModel() {
|
||||
const appModel = this.modelFor("wizard");
|
||||
this.router.replaceWith("wizard.step", appModel.start);
|
||||
this.replaceWith("wizard.step", appModel.start);
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user