Fix res.send (migrate to express v3)

This commit is contained in:
Marcel Klehr 2012-09-22 13:51:39 +02:00
parent ff7cf991c9
commit 71579d1478
5 changed files with 8 additions and 12 deletions

View file

@ -15,7 +15,7 @@ module.exports = function (req, res, callback) {
callback();
//no access
} else {
res.send("403 - Can't touch this", 403);
res.send(403, "403 - Can't touch this");
}
});
}