Skip to content

A platform for community discussion. Free, open, simple.

Fix deprecation warnings in Ember.

Guo Xiang Tan3b3e6ed23f0d
diff --git a/app/assets/javascripts/discourse/routes/discourse.js.es6 b/app/assets/javascripts/discourse/routes/discourse.js.es6
index 169d50cd948..42595a0956b 100644
--- a/app/assets/javascripts/discourse/routes/discourse.js.es6
+++ b/app/assets/javascripts/discourse/routes/discourse.js.es6
@@ -17,7 +17,7 @@ const DiscourseRoute = Ember.Route.extend({
refresh() {
if (!this.refreshQueryWithoutTransition) { return this._super(); }
- if (!this.router.router.activeTransition) {
+ if (!this.router._routerMicrolib.activeTransition) {
const controller = this.controller,
model = controller.get('model'),
params = this.controller.getProperties(Object.keys(this.queryParams));