Fix change challenge model to POJO

This commit is contained in:
Berkeley Martinez
2016-01-15 01:44:18 -08:00
parent 47c930d7f4
commit 50b1e61e70
3 changed files with 15 additions and 7 deletions

View File

@@ -29,7 +29,7 @@ export default function prodErrorHandler() {
msg: message
});
}
return res.redirect('/');
return res.redirect('/map');
// json
} else if (type === 'json') {
res.setHeader('Content-Type', 'application/json');