Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-25 10:40:28 +01:00
20 Zeilen
396 B
Text
20 Zeilen
396 B
Text
|
import CustomWizardPro from "../models/custom-wizard-pro";
|
||
|
import DiscourseRoute from "discourse/routes/discourse";
|
||
|
|
||
|
export default DiscourseRoute.extend({
|
||
|
model() {
|
||
|
return CustomWizardPro.status();
|
||
|
},
|
||
|
|
||
|
setupController(controller, model) {
|
||
|
controller.set('model', model);
|
||
|
controller.setup();
|
||
|
},
|
||
|
|
||
|
actions: {
|
||
|
authorize() {
|
||
|
CustomWizardPro.authorize();
|
||
|
}
|
||
|
}
|
||
|
});
|