Skip to content

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

FIX: page:changed was sometimes reporting the wrong URL

Robin Wardfc63f0d31621
diff --git a/app/assets/javascripts/discourse/app/routes/topic-from-params.js b/app/assets/javascripts/discourse/app/routes/topic-from-params.js
index c592b85edce..275d870c74b 100644
--- a/app/assets/javascripts/discourse/app/routes/topic-from-params.js
+++ b/app/assets/javascripts/discourse/app/routes/topic-from-params.js
@@ -33,7 +33,7 @@ export default DiscourseRoute.extend({
params.forceLoad = true;
- postStream
+ return postStream
.refresh(params)
.then(() => {
// TODO we are seeing errors where closest post is null and this is exploding