This commit is contained in:
Julian Lam
2014-07-05 15:01:25 -04:00
parent 0dad7adb8d
commit 89dc8c490a
4 changed files with 40 additions and 13 deletions

View File

@@ -486,10 +486,12 @@ accountsController.getChats = function(req, res, next) {
return next(err);
}
console.log(res.locals.messages);
console.log(res.locals);
res.render('chats', {
meta: res.locals.chatData,
chats: chats,
contacts: res.locals.contacts,
messages: res.locals.messages || undefined
});
});