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