2015-08-11 12:27:07 -04:00
|
|
|
export default Ember.Controller.extend({
|
2014-03-19 00:18:04 -04:00
|
|
|
showBadges: function() {
|
2014-12-15 14:41:08 -05:00
|
|
|
return this.get('currentUser.admin') && this.siteSettings.enable_badges;
|
2014-03-19 00:18:04 -04:00
|
|
|
}.property()
|
|
|
|
});
|