Show notification on successful sign out

Closes #2977
This commit is contained in:
Jason Williams 2014-06-16 22:54:21 +00:00
parent e19b553a9d
commit bf5ef6dd65

View File

@ -15,7 +15,7 @@ var SignoutRoute = AuthenticatedRoute.extend(styleBody, {
'X-CSRF-Token': this.get('csrf')
}
}).then(function () {
self.notifications.showSuccess('You were successfully signed out.');
// @TODO: new CSRF token to enable logging back in w/o refreshing - see issue #2861 for details
self.transitionTo('signin');
}, function (resp) {