mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-20 01:03:23 +03:00
0e9d4e6792
Refs #4001 - grunt-jscs@0.8.1 which provides ES6 support.
18 lines
461 B
JavaScript
18 lines
461 B
JavaScript
var ApplicationController = Ember.Controller.extend({
|
|
// jscs: disable
|
|
hideNav: Ember.computed.match('currentPath', /(error|signin|signup|setup|forgotten|reset)/),
|
|
// jscs: enable
|
|
|
|
topNotificationCount: 0,
|
|
showGlobalMobileNav: false,
|
|
showSettingsMenu: false,
|
|
|
|
actions: {
|
|
topNotificationChange: function (count) {
|
|
this.set('topNotificationCount', count);
|
|
}
|
|
}
|
|
});
|
|
|
|
export default ApplicationController;
|