mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 19:53:53 -06:00
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({
|
||||
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 (
|
||||
|
Loading…
Reference in New Issue
Block a user