Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-24 02:10:29 +01:00
12 Zeilen
300 B
JavaScript
12 Zeilen
300 B
JavaScript
import DiscourseRoute from "discourse/routes/discourse";
|
|
import CustomWizardAdmin from "../models/custom-wizard-admin";
|
|
|
|
export default DiscourseRoute.extend({
|
|
model() {
|
|
return CustomWizardAdmin.all();
|
|
},
|
|
|
|
setupController(controller, model) {
|
|
controller.set("wizards", model);
|
|
},
|
|
});
|