mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
REFACTOR: Add themeSettings to the helperContext to avoid a global
This commit is contained in:
@@ -164,7 +164,7 @@ QUnit.testStart(function(ctx) {
|
||||
Session.resetCurrent();
|
||||
User.resetCurrent();
|
||||
resetSite(settings);
|
||||
createHelperContext(settings);
|
||||
createHelperContext({ siteSettings: settings });
|
||||
|
||||
_DiscourseURL.redirectedTo = null;
|
||||
_DiscourseURL.redirectTo = function(url) {
|
||||
|
||||
Reference in New Issue
Block a user