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 DiscourseRoute from "discourse/routes/discourse";
|
||||
|
||||
export default Discourse.Route.extend({
|
||||
export default DiscourseRoute.extend({
|
||||
model() {
|
||||
return CustomWizardLogs.list();
|
||||
},
|
||||
|
||||
|
||||
setupController(controller, model) {
|
||||
controller.set('logs', model);
|
||||
}
|
||||
})
|
||||
})
|
||||
|
|
Laden …
In neuem Issue referenzieren