Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-26 02:50:28 +01:00
Merge pull request #39 from eviltrout/discourse-route
DEV: Discourse.Route has been deprecated
Dieser Commit ist enthalten in:
Commit
34a556e0bf
1 geänderte Dateien mit 4 neuen und 3 gelöschten Zeilen
|
@ -1,11 +1,12 @@
|
||||||
import CustomWizardLogs from '../models/custom-wizard-logs';
|
import CustomWizardLogs from '../models/custom-wizard-logs';
|
||||||
|
import DiscourseRoute from "discourse/routes/discourse";
|
||||||
|
|
||||||
export default Discourse.Route.extend({
|
export default DiscourseRoute.extend({
|
||||||
model() {
|
model() {
|
||||||
return CustomWizardLogs.list();
|
return CustomWizardLogs.list();
|
||||||
},
|
},
|
||||||
|
|
||||||
setupController(controller, model) {
|
setupController(controller, model) {
|
||||||
controller.set('logs', model);
|
controller.set('logs', model);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Laden …
In neuem Issue referenzieren