mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 03:14:03 +03:00
be53c7a4c9
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;
|