Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-15 22:32:54 +01:00
12 Zeilen
284 B
JavaScript
12 Zeilen
284 B
JavaScript
import CustomWizard from "../models/custom-wizard";
|
|
import DiscourseRoute from "discourse/routes/discourse";
|
|
|
|
export default DiscourseRoute.extend({
|
|
model() {
|
|
return CustomWizard.all();
|
|
},
|
|
|
|
setupController(controller, model) {
|
|
controller.set("wizards", model);
|
|
},
|
|
});
|