diff --git a/src/controllers/groups.js b/src/controllers/groups.js index f96f460eaf..a7295bdd7e 100644 --- a/src/controllers/groups.js +++ b/src/controllers/groups.js @@ -2,7 +2,7 @@ var groups = require('../groups'), async = require('async'), - + nconf = require('nconf'), groupsController = {}; groupsController.list = function(req, res) { @@ -30,7 +30,7 @@ groupsController.details = function(req, res) { if (!err) { res.render('groups/details', results); } else { - res.redirect(nconf.get('relative_path') + '/404') + res.redirect(nconf.get('relative_path') + '/404'); } }); };