move category pageview to controllers

so topic views are tracked as category views
This commit is contained in:
Barış Soner Uşaklı
2018-06-01 14:57:59 -04:00
parent 1d5a0eaf13
commit d31d8fa806
4 changed files with 6 additions and 12 deletions

View File

@@ -53,7 +53,6 @@ middleware.stripLeadingSlashes = function (req, res, next) {
middleware.pageView = function (req, res, next) {
analytics.pageView({
ip: req.ip,
path: req.path,
uid: req.uid,
});