0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Merge pull request #3454 from halfdan/signout-email

Properly remove email notification on signout.
This commit is contained in:
Hannah Wolfe 2014-07-30 22:21:41 +01:00
commit 7efee359e6

View file

@ -5,6 +5,7 @@ var SignoutRoute = Ember.Route.extend(SimpleAuth.AuthenticatedRouteMixin, styleB
classNames: ['ghost-signout'],
afterModel: function (model, transition) {
this.notifications.clear();
if (Ember.canInvoke(transition, 'send')) {
transition.send('invalidateSession');
transition.abort();