v1.18.x
barisusakli 11 years ago committed by Julian Lam
parent 22ba104930
commit 48ed540801

@ -3,15 +3,15 @@
var staticController = {};
staticController['404'] = function(req, res, next) {
res.render('404', {});
res.status(404).render('404', {});
};
staticController['403'] = function(req, res, next) {
res.render('403', {});
res.status(403).render('403', {});
};
staticController['500'] = function(req, res, next) {
res.render('500', {});
res.status(500).render('500', {});
};
module.exports = staticController;
Loading…
Cancel
Save