mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-14 18:52:05 +03:00
0f17378b26
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;
|