From a22f1d0d7aba05864497ba8da691d5d9f89a5774 Mon Sep 17 00:00:00 2001 From: Fabian Becker Date: Wed, 30 Jul 2014 13:32:19 +0000 Subject: [PATCH] Properly remove email notification on signout. no ref - Calls notifications.clear() on signout --- ghost/admin/routes/signout.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ghost/admin/routes/signout.js b/ghost/admin/routes/signout.js index 8854bfcb91..0060d2752f 100644 --- a/ghost/admin/routes/signout.js +++ b/ghost/admin/routes/signout.js @@ -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();