diff --git a/app/assets/javascripts/discourse/app/routes/application.js b/app/assets/javascripts/discourse/app/routes/application.js index 3f5bec02b13..ee8a2fd8b6f 100644 --- a/app/assets/javascripts/discourse/app/routes/application.js +++ b/app/assets/javascripts/discourse/app/routes/application.js @@ -33,16 +33,19 @@ function unlessStrictlyReadOnly(method, message) { const ApplicationRoute = DiscourseRoute.extend({ siteTitle: setting("title"), shortSiteDescription: setting("short_site_description"), - documentTitle: service(), - dialog: service(), - composer: service(), - modal: service(), - loadingSlider: service(), - router: service(), - siteSettings: service(), + clientErrorHandler: service(), - login: service(), + composer: service(), + currentUser: service(), + dialog: service(), + documentTitle: service(), historyStore: service(), + loadingSlider: service(), + login: service(), + modal: service(), + router: service(), + site: service(), + siteSettings: service(), get isOnlyOneExternalLoginMethod() { return (