diff --git a/app/components/log-content.coffee b/app/components/log-content.coffee index 7efacdfa..09b5a225 100644 --- a/app/components/log-content.coffee +++ b/app/components/log-content.coffee @@ -43,7 +43,6 @@ Object.defineProperty Log.Limit.prototype, 'limited', LogContentComponent = Ember.Component.extend popup: Ember.inject.service() - auth: Ember.inject.service() currentUserBinding: 'auth.currentUser' diff --git a/app/initializers/auth.coffee b/app/initializers/auth.coffee index befb2174..fd167d55 100644 --- a/app/initializers/auth.coffee +++ b/app/initializers/auth.coffee @@ -7,6 +7,7 @@ initialize = (container, app) -> app.inject('route', 'auth', 'auth:main') app.inject('controller', 'auth', 'auth:main') app.inject('application', 'auth', 'auth:main') + app.inject('component', 'auth', 'auth:main') app.inject('auth', 'store', 'store:main')