DEV: Discourse.Route has been deprecated
Dieser Commit ist enthalten in:
Ursprung
c5ccd638f7
Commit
155493ce3b
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