Allow admins to choose if groups are visible or not.

This commit is contained in:
Robin Ward
2014-04-22 16:43:46 -04:00
parent 8538e31fb4
commit af877781b7
11 changed files with 43 additions and 19 deletions
@@ -20,7 +20,7 @@ Discourse.AdminGroupsController = Ember.Controller.extend({
},
newGroup: function(){
var group = Discourse.Group.create({ loadedUsers: true }),
var group = Discourse.Group.create({ loadedUsers: true, visible: true }),
model = this.get("model");
model.addObject(group);
model.select(group);