0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/client/routes/settings
Kevin Ansfield 7bfe6e9db7 Fix direct access to settings/user
closes #3162
- removes injection of user object in application route's beforeModel
- removes injection/cleanup of user object in signedIn/signedOut actions
- removes loading of user and passing to signedIn action in signup/setup controllers
- adds 'user' property to session object
- updates header nav to reference session.user
- sets model of settings/user route to session.user and forces reload
- on leaving settings/user, rollback any unsaved changes
2014-07-02 17:45:21 +02:00
..
apps.js oAuth 2014-06-30 14:58:10 +02:00
general.js oAuth 2014-06-30 14:58:10 +02:00
index.js oAuth 2014-06-30 14:58:10 +02:00
user.js Fix direct access to settings/user 2014-07-02 17:45:21 +02:00