Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-10 04:12:53 +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)
|
|
}
|
|
});
|