0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-24 10:20:28 +01:00
discourse-custom-wizard/assets/javascripts/discourse/routes/admin-wizards-manager.js.es6
2022-07-27 11:47:50 +01:00

12 Zeilen
300 B
JavaScript

import CustomWizardAdmin from "../models/custom-wizard-admin";
import DiscourseRoute from "discourse/routes/discourse";
export default DiscourseRoute.extend({
model() {
return CustomWizardAdmin.all();
},
setupController(controller, model) {
controller.set("wizards", model);
},
});