1
0
Fork 0

DEV: Discourse.Route has been deprecated

Dieser Commit ist enthalten in:
Robin Ward 2020-05-12 14:01:26 -04:00
Ursprung c5ccd638f7
Commit 155493ce3b

Datei anzeigen

@ -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);
} }
}) })