Inject store to auth
This commit is contained in:
parent
fedacace0e
commit
a302f7f273
|
@ -5,9 +5,7 @@ initialize = (container, app) ->
|
|||
app.inject('controller', 'auth', 'auth:main')
|
||||
app.inject('application', 'auth', 'auth:main')
|
||||
|
||||
Auth.store = container.lookup('store:main')
|
||||
Auth.config = container.lookup('config:main')
|
||||
|
||||
app.inject('auth', 'store', 'store:main')
|
||||
|
||||
AuthInitializer =
|
||||
name: 'auth'
|
||||
|
|
Loading…
Reference in New Issue
Block a user