FIX: subfolder support for page refresh when assets have changed

This commit is contained in:
Neil Lalonde 2015-05-26 13:13:00 -04:00
parent d0741f752f
commit 364437da28

View file

@ -113,7 +113,7 @@ Discourse.URL = Ember.Object.createWithMixins({
if (Em.isEmpty(path)) { return; } if (Em.isEmpty(path)) { return; }
if (Discourse.get('requiresRefresh')) { if (Discourse.get('requiresRefresh')) {
document.location.href = path; document.location.href = Discourse.getURL(path);
return; return;
} }