REFACTOR: Remove `Discourse.SiteSettings` from static route builder

REFACTOR: Remove Discourse.SiteSettings from static route builder

diff --git a/app/assets/javascripts/discourse/app/lib/static-route-builder.js b/app/assets/javascripts/discourse/app/lib/static-route-builder.js
index 06b4eae..880b56d 100644
--- a/app/assets/javascripts/discourse/app/lib/static-route-builder.js
+++ b/app/assets/javascripts/discourse/app/lib/static-route-builder.js
@@ -17,9 +17,9 @@ export default function(page) {
 
     beforeModel(transition) {
       const configKey = configs[page];
-      if (configKey && Discourse.SiteSettings[configKey].length > 0) {
+      if (configKey && this.siteSettings[configKey].length > 0) {
         transition.abort();
-        DiscourseURL.redirectTo(Discourse.SiteSettings[configKey]);
+        DiscourseURL.redirectTo(this.siteSettings[configKey]);
       }
     },
 

GitHub sha: 94419d01

This commit appears in #10290 which was merged by eviltrout.