mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
commit
73d995ea58
1 changed files with 3 additions and 1 deletions
|
@ -8,8 +8,10 @@ var ApplicationRoute = Ember.Route.extend(ShortcutsRoute, {
|
||||||
closePopups: function () {
|
closePopups: function () {
|
||||||
this.get('popover').closePopovers();
|
this.get('popover').closePopovers();
|
||||||
this.get('notifications').closeAll();
|
this.get('notifications').closeAll();
|
||||||
// @todo close modals
|
|
||||||
|
this.send('closeModal');
|
||||||
},
|
},
|
||||||
|
|
||||||
signedIn: function (user) {
|
signedIn: function (user) {
|
||||||
// Update the user on all routes and controllers
|
// Update the user on all routes and controllers
|
||||||
this.container.unregister('user:current');
|
this.container.unregister('user:current');
|
||||||
|
|
Loading…
Reference in a new issue