Refresh admin user list after approval

This commit is contained in:
Chris Hunt 2013-06-05 08:57:25 -07:00
parent f0d4a38433
commit f05c30ab8d
1 changed files with 1 additions and 0 deletions

View File

@ -118,6 +118,7 @@ Discourse.AdminUsersListController = Ember.ArrayController.extend(Discourse.Pres
**/
approveUsers: function() {
Discourse.AdminUser.bulkApprove(this.get('content').filterProperty('selected'));
this.refreshUsers();
}
});