2014-03-11 11:23:32 -05:00
|
|
|
var ApplicationController = Ember.Controller.extend({
|
2014-06-25 07:12:48 -05:00
|
|
|
hideNav: Ember.computed.match('currentPath', /(signin|signup|setup|forgotten|reset)/),
|
2014-05-14 18:36:13 -05:00
|
|
|
|
2014-07-17 12:28:53 -05:00
|
|
|
topNotificationCount: 0,
|
|
|
|
|
2014-04-06 17:11:22 -05:00
|
|
|
actions: {
|
|
|
|
toggleMenu: function () {
|
|
|
|
this.toggleProperty('showMenu');
|
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;
|