This commit is contained in:
psychobunny
2014-10-08 00:02:00 -04:00
parent 3b511b59cb
commit 7bd49a96b2
2 changed files with 8 additions and 8 deletions

View File

@@ -25,10 +25,10 @@ var fs = require('fs'),
function userNotFound(res) {
if (res.locals.isAPI) {
res.status(404).json('user-not-found');
res.status(404).json('no-user');
} else {
res.render('404', {
error: 'User not found!'
error: '[[error:no-user]]'
});
}
}