admin: refresh contrib list when saving a member

This commit is contained in:
Tyler Renelle
2013-11-15 20:06:18 -08:00
parent b762ecba81
commit b9d3b3a1a7

View File

@@ -13,6 +13,7 @@ habitrpg.controller("AdminCtrl", ['$scope', '$rootScope', 'User', 'Notification'
Notification.text("User updated");
$scope.profile = undefined;
$scope._uuid = undefined;
$scope.contributors = Contributor.query();
})
}
$scope.contributors = Contributor.query();