2021-03-28 11:06:49 +02:00
|
|
|
import CustomWizard from "../models/custom-wizard";
|
2020-03-21 18:30:11 +01:00
|
|
|
import DiscourseRoute from "discourse/routes/discourse";
|
2019-07-27 23:08:22 +02:00
|
|
|
|
2020-03-21 18:30:11 +01:00
|
|
|
export default DiscourseRoute.extend({
|
2019-07-30 19:04:18 +02:00
|
|
|
model() {
|
2019-08-07 12:46:05 +02:00
|
|
|
return CustomWizard.all();
|
2020-04-15 04:34:39 +02:00
|
|
|
},
|
2021-03-28 11:06:49 +02:00
|
|
|
|
2020-04-15 04:34:39 +02:00
|
|
|
setupController(controller, model) {
|
2021-03-28 11:06:49 +02:00
|
|
|
controller.set("wizards", model);
|
|
|
|
},
|
2019-08-07 12:46:05 +02:00
|
|
|
});
|