0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-16 06:40:29 +01:00
discourse-custom-wizard/assets/javascripts/discourse/routes/admin-wizards-manager.js.es6

13 Zeilen
284 B
Text

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