From 364437da28fed9679800b6b89217fc88ff7d22a3 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Tue, 26 May 2015 13:13:00 -0400 Subject: [PATCH] FIX: subfolder support for page refresh when assets have changed --- app/assets/javascripts/discourse/lib/url.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/lib/url.js b/app/assets/javascripts/discourse/lib/url.js index e5a8b6840..ca1597039 100644 --- a/app/assets/javascripts/discourse/lib/url.js +++ b/app/assets/javascripts/discourse/lib/url.js @@ -113,7 +113,7 @@ Discourse.URL = Ember.Object.createWithMixins({ if (Em.isEmpty(path)) { return; } if (Discourse.get('requiresRefresh')) { - document.location.href = path; + document.location.href = Discourse.getURL(path); return; }