This commit is contained in:
barisusakli
2015-07-06 17:39:42 -04:00
parent c6643082e2
commit f08554e788
2 changed files with 3 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ groupsController.get = function(req, res, next) {
},
function(exists, next) {
if (!exists) {
helpers.notFound(req, res);
return helpers.notFound(req, res);
}
groups.get(groupName, {uid: req.uid}, next);
}