DEV: Discourse.Route is deprecated

This commit is contained in:
Robin Ward 2020-05-12 14:41:26 -04:00
parent 2c11e386f1
commit 492d189c6e
3 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,7 @@
import { ajax } from "discourse/lib/ajax";
import DiscourseRoute from "discourse/routes/discourse";
export default Discourse.Route.extend({
export default DiscourseRoute.extend({
controllerName: "admin-plugins-explorer",
model() {

View File

@ -1,6 +1,7 @@
import { ajax } from "discourse/lib/ajax";
import DiscourseRoute from "discourse/routes/discourse";
export default Discourse.Route.extend({
export default DiscourseRoute.extend({
controllerName: "group-reports-index",
model() {

View File

@ -1,6 +1,7 @@
import { ajax } from "discourse/lib/ajax";
import DiscourseRoute from "discourse/routes/discourse";
export default Discourse.Route.extend({
export default DiscourseRoute.extend({
controllerName: "group-reports-show",
model(params) {