missing nconf require

This commit is contained in:
barisusakli
2014-11-16 00:01:20 -05:00
parent 9852809c2c
commit c458a7f7b2
3 changed files with 5 additions and 5 deletions

View File

@@ -234,8 +234,7 @@ Controllers.outgoing = function(req, res, next) {
if (url) {
res.render('outgoing', data);
} else {
res.status(404);
res.redirect(nconf.get('relative_path') + '/404');
res.status(404).redirect(nconf.get('relative_path') + '/404');
}
};