mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-16 12:16:09 +03:00
f29231aa70
Closes #3937 - Add ghost tab components - Remove extra container div from Application view - Move right-outlet viewing logic to application level - Prepare PSM.hbs for tabbing
16 lines
419 B
JavaScript
16 lines
419 B
JavaScript
var ApplicationController = Ember.Controller.extend({
|
|
hideNav: Ember.computed.match('currentPath', /(error|signin|signup|setup|forgotten|reset)/),
|
|
|
|
topNotificationCount: 0,
|
|
showGlobalMobileNav: false,
|
|
showRightOutlet: false,
|
|
|
|
actions: {
|
|
topNotificationChange: function (count) {
|
|
this.set('topNotificationCount', count);
|
|
}
|
|
}
|
|
});
|
|
|
|
export default ApplicationController;
|