This commit is contained in:
barisusakli
2015-09-11 22:50:09 -04:00
parent dd5a8e8a88
commit 9361ff0772
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ helpers.notAllowed = function(req, res, error) {
helpers.redirect = function(res, url) {
if (res.locals.isAPI) {
res.status(302).json(url);
res.status(308).json(url);
} else {
res.redirect(nconf.get('relative_path') + url);
}