mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 05:02:24 +08:00
6 lines
164 B
JavaScript
6 lines
164 B
JavaScript
export default Ember.Controller.extend({
|
|
showBadges: function() {
|
|
return this.get('currentUser.admin') && this.siteSettings.enable_badges;
|
|
}.property()
|
|
});
|