removed unread total route

This commit is contained in:
barisusakli
2014-06-15 21:08:43 -04:00
parent d1b4efeaa3
commit 39886c8545
2 changed files with 1 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ categoriesController.unreadTotal = function(req, res, next) {
return next(err);
}
res.render('unread', data);
res.json(data);
});
};