From 155493ce3b15743cc60ac8a9eab5426864451d9b Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Tue, 12 May 2020 14:01:26 -0400 Subject: [PATCH] DEV: Discourse.Route has been deprecated --- .../javascripts/discourse/routes/admin-wizards-logs.js.es6 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/assets/javascripts/discourse/routes/admin-wizards-logs.js.es6 b/assets/javascripts/discourse/routes/admin-wizards-logs.js.es6 index 1c1de391..a7e62ad6 100644 --- a/assets/javascripts/discourse/routes/admin-wizards-logs.js.es6 +++ b/assets/javascripts/discourse/routes/admin-wizards-logs.js.es6 @@ -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); } -}) \ No newline at end of file +})