1
0
Fork 0
discourse-custom-wizard-unl.../assets/javascripts/discourse/routes/admin-wizards-manager.js.es6

13 Zeilen
284 B
Text

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
},
2020-04-15 04:34:39 +02:00
setupController(controller, model) {
controller.set("wizards", model);
},
2019-08-07 12:46:05 +02:00
});