DEV: Add missing service injections to app route (#25401)
…so "site" and "currentUser" (and sort all of them)
This commit is contained in:
parent
070a8414ea
commit
8ca2aef556
|
@ -33,16 +33,19 @@ function unlessStrictlyReadOnly(method, message) {
|
||||||
const ApplicationRoute = DiscourseRoute.extend({
|
const ApplicationRoute = DiscourseRoute.extend({
|
||||||
siteTitle: setting("title"),
|
siteTitle: setting("title"),
|
||||||
shortSiteDescription: setting("short_site_description"),
|
shortSiteDescription: setting("short_site_description"),
|
||||||
documentTitle: service(),
|
|
||||||
dialog: service(),
|
|
||||||
composer: service(),
|
|
||||||
modal: service(),
|
|
||||||
loadingSlider: service(),
|
|
||||||
router: service(),
|
|
||||||
siteSettings: service(),
|
|
||||||
clientErrorHandler: service(),
|
clientErrorHandler: service(),
|
||||||
login: service(),
|
composer: service(),
|
||||||
|
currentUser: service(),
|
||||||
|
dialog: service(),
|
||||||
|
documentTitle: service(),
|
||||||
historyStore: service(),
|
historyStore: service(),
|
||||||
|
loadingSlider: service(),
|
||||||
|
login: service(),
|
||||||
|
modal: service(),
|
||||||
|
router: service(),
|
||||||
|
site: service(),
|
||||||
|
siteSettings: service(),
|
||||||
|
|
||||||
get isOnlyOneExternalLoginMethod() {
|
get isOnlyOneExternalLoginMethod() {
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue