{"action":"closed","issue":{"url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/537","labels_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/537/labels{/name}","comments_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/537/comments","events_url":"https://api.github.com/repos/simplabs/ember-simple-auth/issues/537/events","html_url":"https://github.com/simplabs/ember-simple-auth/issues/537","id":82372889,"number":537,"title":"The application-route-mixin should look up the baseURL from the ember-cli enviroment configuration","user":{"login":"luxferresum","id":1208273,"avatar_url":"https://avatars.githubusercontent.com/u/1208273?v=3","gravatar_id":"","url":"https://api.github.com/users/luxferresum","html_url":"https://github.com/luxferresum","followers_url":"https://api.github.com/users/luxferresum/followers","following_url":"https://api.github.com/users/luxferresum/following{/other_user}","gists_url":"https://api.github.com/users/luxferresum/gists{/gist_id}","starred_url":"https://api.github.com/users/luxferresum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luxferresum/subscriptions","organizations_url":"https://api.github.com/users/luxferresum/orgs","repos_url":"https://api.github.com/users/luxferresum/repos","events_url":"https://api.github.com/users/luxferresum/events{/privacy}","received_events_url":"https://api.github.com/users/luxferresum/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-29T10:35:59Z","updated_at":"2015-06-05T10:09:21Z","closed_at":"2015-06-05T10:09:21Z","body":"Hi\r\n\r\nember-simple-auth is checking the routers `rootURL` while setting up the configuration, but the `baseURL` of ember-cli seems to work without setting the `rootURL`.\r\n\r\nI think this should work out of the box.\r\n\r\nCurrently I use this action in my application route:\r\n\r\n    sessionInvalidationSucceeded: function() {\r\n        if(!Ember.testing) {\r\n            window.location.replace(this.container.lookup('router:main').get('location.baseURL'));\r\n        }\r\n    }"}}