From 824d849a5298a5b44452a0ef0f120a96750c6d7f Mon Sep 17 00:00:00 2001 From: barisusakli Date: Thu, 27 Mar 2014 03:12:23 -0400 Subject: [PATCH] removed req --- src/controllers/static.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/controllers/static.js b/src/controllers/static.js index 29711b2db1..a94ee81f73 100644 --- a/src/controllers/static.js +++ b/src/controllers/static.js @@ -3,18 +3,18 @@ var staticController = {}; staticController['404'] = function(req, res) { - renderStatic(404, req, res); + renderStatic(404, res); }; staticController['403'] = function(req, res) { - renderStatic(403, req, res); + renderStatic(403, res); }; staticController['500'] = function(req, res) { - renderStatic(500, req, res); + renderStatic(500, res); }; -function renderStatic(statusCode, req, res) { +function renderStatic(statusCode, res) { if (!res.locals.isAPI) { res.statusCode = statusCode; }