2014-03-11 11:23:32 -05:00
|
|
|
var ApplicationController = Ember.Controller.extend({
|
2014-08-06 10:08:02 -05:00
|
|
|
hideNav: Ember.computed.match('currentPath', /(error|signin|signup|setup|forgotten|reset)/),
|
2014-05-14 18:36:13 -05:00
|
|
|
|
2014-07-17 12:28:53 -05:00
|
|
|
topNotificationCount: 0,
|
2014-09-01 11:45:06 -05:00
|
|
|
showGlobalMobileNav: false,
|
2014-10-13 10:23:06 -05:00
|
|
|
showSettingsMenu: false,
|
2014-07-17 12:28:53 -05:00
|
|
|
|
2014-04-06 17:11:22 -05:00
|
|
|
actions: {
|
2014-07-17 12:28:53 -05:00
|
|
|
topNotificationChange: function (count) {
|
|
|
|
this.set('topNotificationCount', count);
|
2014-04-06 17:11:22 -05:00
|
|
|
}
|
|
|
|
}
|
2014-03-11 11:23:32 -05:00
|
|
|
});
|
|
|
|
|
2014-07-17 12:28:53 -05:00
|
|
|
export default ApplicationController;
|