onepercentclub/bluebottle — pull request #568 by rollick (2014-06-01 11:09:44+00:00)
Title: Move current user fetch + language setup into ember initializer

Moved this code into an initialiser and deferred readiness of app until complete. This fixes issues we had when reloading the app when on an authenticated page. If the user was authenticated then the 'currentUser' wouldn't be set yet so they would be treated as anonymous users => redirected to a signup page.