Ghost/ghost/admin/controllers
Kevin Ansfield c28d8e6044 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 Fix warning about transitionTo being deprecated 2014-06-23 12:14:41 +01:00
modals Remove CSRF from client 2014-07-01 11:39:01 +02:00
posts Persistent notifications 2014-07-01 11:36:21 +02:00
settings Fix direct access to settings/user 2014-07-02 17:45:21 +02:00
application.js oAuth 2014-06-30 14:58:10 +02:00
debug.js Remove CSRF from client 2014-07-01 11:39:01 +02:00
error.js Add error template, route and controller 2014-06-24 23:33:02 +01:00
forgotten.js Made ember version of reset password work 2014-06-30 14:37:49 +01:00
post-settings-menu.js Fix promise rejection 2014-06-22 14:49:09 -04:00
post-tags-input.js Ensure incomplete tags aren't lost on save 2014-06-24 12:14:27 +02:00
posts.js Better handling of validation errors + more documentation 2014-06-30 22:35:03 -04:00
reset.js Made ember version of reset password work 2014-06-30 14:37:49 +01:00
settings.js Hide settings/apps unless apps:true is in config.js 2014-06-23 20:27:51 +01:00
setup.js Fix direct access to settings/user 2014-07-02 17:45:21 +02:00
signin.js oAuth 2014-06-30 14:58:10 +02:00
signup.js Fix direct access to settings/user 2014-07-02 17:45:21 +02:00