Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-23 18:00:29 +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)
|
|
}
|
|
});
|