0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-10 04:12:53 +01:00
discourse-custom-wizard/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
});