mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 09:06:15 +01:00
use group name, hidden groups are not in groupslug:groupname
This commit is contained in:
@@ -27,7 +27,7 @@ groupsController.list = function(req, res, next) {
|
||||
};
|
||||
|
||||
groupsController.get = function(req, res, next) {
|
||||
var groupName = res.locals.groupName;
|
||||
var groupName = req.params.name;
|
||||
async.waterfall([
|
||||
function(next){
|
||||
groups.exists(groupName, next);
|
||||
|
||||
Reference in New Issue
Block a user