0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00
ghost/core/client/routes
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
..
editor Merge pull request #3146 from darvelo/tags-tracking 2014-06-30 16:48:27 +01:00
posts oAuth 2014-06-30 14:58:10 +02:00
settings Fix direct access to settings/user 2014-07-02 17:45:21 +02:00
application.js Fix direct access to settings/user 2014-07-02 17:45:21 +02:00
content.js Add /content redirect to Ember admin. 2014-05-15 18:52:10 -06:00
debug.js oAuth 2014-06-30 14:58:10 +02:00
error404.js Add error template, route and controller 2014-06-24 23:33:02 +01:00
forgotten.js Re-implementing the loading indicator for the Ember admin 2014-06-23 10:01:33 -04:00
posts.js oAuth 2014-06-30 14:58:10 +02:00
reset.js Re-implementing the loading indicator for the Ember admin 2014-06-23 10:01:33 -04:00
settings.js oAuth 2014-06-30 14:58:10 +02:00
setup.js Redirect setup if authenticated 2014-07-01 12:57:44 +02:00
signin.js Redirect signin if authenticated 2014-07-01 11:21:05 +02:00
signout.js oAuth 2014-06-30 14:58:10 +02:00
signup.js Add validation for signin/signup 2014-06-23 21:17:57 -05:00