granting and rescinding ownership, #2588

This commit is contained in:
Julian Lam
2015-01-08 15:13:05 -05:00
parent a907fa2187
commit d747ce5760
4 changed files with 91 additions and 26 deletions

View File

@@ -23,10 +23,12 @@ groupsController.list = function(req, res, next) {
groupsController.details = function(req, res, next) {
var uid = req.user ? parseInt(req.user.uid, 10) : 0;
async.parallel({
group: function(next) {
groups.get(req.params.name, {
expand: true
expand: true,
uid: uid
}, next);
},
posts: function(next) {