Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-14 13:52:54 +01:00
12 Zeilen
300 B
JavaScript
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);
|
|
},
|
|
});
|