fixed view count for guests

This commit is contained in:
barisusakli
2014-10-21 13:59:40 -04:00
parent 3e4b6c97a0
commit 55a5d56989
2 changed files with 2 additions and 1 deletions

View File

@@ -246,6 +246,8 @@ topicsController.get = function(req, res, next) {
topic_url += '?' + queryString;
}
topics.increaseViewCount(tid);
if (!res.locals.isAPI) {
// Paginator for noscript
data.pages = [];