From 48ed54080127f7fbb2e11382af6076265b9be2b5 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Mon, 24 Mar 2014 19:57:06 -0400 Subject: [PATCH] closed #1267 --- src/controllers/static.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/controllers/static.js b/src/controllers/static.js index 0fa71f12a7..8924ffaf6d 100644 --- a/src/controllers/static.js +++ b/src/controllers/static.js @@ -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; \ No newline at end of file