Inject store to auth

This commit is contained in:
Piotr Sarnacki 2015-01-30 17:22:32 +01:00
parent fedacace0e
commit a302f7f273

View File

@ -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'