[#1489] add edit-gropu server route, basic editing of group info for now (with markdown!)

This commit is contained in:
Tyler Renelle
2013-09-09 17:09:45 -04:00
parent f5b1748d60
commit e1828153dd
8 changed files with 50 additions and 25 deletions

View File

@@ -10,6 +10,11 @@ habitrpg.controller("GroupsCtrl", ['$scope', '$rootScope', 'Groups', '$http', 'A
$scope.Members = Members;
$scope._editing = {group:false};
$scope.save = function(group){
group.$save();
group._editing = false;
}
// ------ Loading ------
$scope.groups = Groups.groups;