discourse/app/assets/javascripts/admin/controllers/admin.js.es6

6 lines
164 B
Plaintext
Raw Normal View History

export default Ember.Controller.extend({
showBadges: function() {
return this.get('currentUser.admin') && this.siteSettings.enable_badges;
}.property()
});