{"action":"closed","issue":{"url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/809","labels_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/809/labels{/name}","comments_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/809/comments","events_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/809/events","html_url":"https://github.com/simplabs/ember-simple-auth/issues/809","id":120277894,"number":809,"title":"Inject session service globally","user":{"login":"teckays","id":2588178,"avatar_url":"https://avatars.githubusercontent.com/u/2588178?v=3","gravatar_id":"","url":"https://api.github.com/users/teckays","html_url":"https://github.com/teckays","followers_url":"https://api.github.com/users/teckays/followers","following_url":"https://api.github.com/users/teckays/following{/other_user}","gists_url":"https://api.github.com/users/teckays/gists{/gist_id}","starred_url":"https://api.github.com/users/teckays/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teckays/subscriptions","organizations_url":"https://api.github.com/users/teckays/orgs","repos_url":"https://api.github.com/users/teckays/repos","events_url":"https://api.github.com/users/teckays/events{/privacy}","received_events_url":"https://api.github.com/users/teckays/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-03T21:49:58Z","updated_at":"2015-12-03T23:44:57Z","closed_at":"2015-12-03T23:44:57Z","body":"As the guides say, I have to inject `session: Ember.service.inject()` the session service in every route, controller or component I wish to access the `session` data from. However, It becomes a little redundant injecting the session service everywhere. Is it possible to inject it globally so that it's accessible everywhere in the app modules and components? I've tried using Ember initializers and didn't have much success just yet."}}