DEV: Discourse.Route has been deprecated

DEV: Discourse.Route has been deprecated

diff --git a/assets/javascripts/discourse/routes/build-cakeday-route.js.es6 b/assets/javascripts/discourse/routes/build-cakeday-route.js.es6
index 042a30b..e5103bd 100644
--- a/assets/javascripts/discourse/routes/build-cakeday-route.js.es6
+++ b/assets/javascripts/discourse/routes/build-cakeday-route.js.es6
@@ -1,5 +1,7 @@
+import DiscourseRoute from "discourse/routes/discourse";
+
 export default (storeName, filter) => {
-  return Discourse.Route.extend({
+  return DiscourseRoute.extend({
     model(params) {
       params.timezone_offset = new Date().getTimezoneOffset();
       if (filter) params.filter = filter;
diff --git a/assets/javascripts/discourse/routes/cakeday-anniversaries-index.js.es6 b/assets/javascripts/discourse/routes/cakeday-anniversaries-index.js.es6
index 262c422..1131a5d 100644
--- a/assets/javascripts/discourse/routes/cakeday-anniversaries-index.js.es6
+++ b/assets/javascripts/discourse/routes/cakeday-anniversaries-index.js.es6
@@ -1,4 +1,6 @@
-export default Discourse.Route.extend({
+import DiscourseRoute from "discourse/routes/discourse";
+
+export default DiscourseRoute.extend({
   beforeModel() {
     this.replaceWith("cakeday.anniversaries.today");
   }
diff --git a/assets/javascripts/discourse/routes/cakeday-anniversaries.js.es6 b/assets/javascripts/discourse/routes/cakeday-anniversaries.js.es6
index 3c5bfdb..6dec1c6 100644
--- a/assets/javascripts/discourse/routes/cakeday-anniversaries.js.es6
+++ b/assets/javascripts/discourse/routes/cakeday-anniversaries.js.es6
@@ -1,4 +1,6 @@
-export default Discourse.Route.extend({
+import DiscourseRoute from "discourse/routes/discourse";
+
+export default DiscourseRoute.extend({
   beforeModel() {
     if (!this.siteSettings.cakeday_enabled) {
       this.transitionTo("unknown", window.location.pathname.replace(/^\//, ""));
diff --git a/assets/javascripts/discourse/routes/cakeday-birthdays-index.js.es6 b/assets/javascripts/discourse/routes/cakeday-birthdays-index.js.es6
index 8d6fbfb..080f6ad 100644
--- a/assets/javascripts/discourse/routes/cakeday-birthdays-index.js.es6
+++ b/assets/javascripts/discourse/routes/cakeday-birthdays-index.js.es6
@@ -1,4 +1,6 @@
-export default Discourse.Route.extend({
+import DiscourseRoute from "discourse/routes/discourse";
+
+export default DiscourseRoute.extend({
   beforeModel() {
     this.replaceWith("cakeday.birthdays.today");
   }
diff --git a/assets/javascripts/discourse/routes/cakeday-birthdays.js.es6 b/assets/javascripts/discourse/routes/cakeday-birthdays.js.es6
index 5ba0924..4c1f2ff 100644
--- a/assets/javascripts/discourse/routes/cakeday-birthdays.js.es6
+++ b/assets/javascripts/discourse/routes/cakeday-birthdays.js.es6
@@ -1,4 +1,6 @@
-export default Discourse.Route.extend({
+import DiscourseRoute from "discourse/routes/discourse";
+
+export default DiscourseRoute.extend({
   beforeModel() {
     if (!this.siteSettings.cakeday_birthday_enabled) {
       this.transitionTo("unknown", window.location.pathname.replace(/^\//, ""));

GitHub sha: 02192fe0