removing old api/popular code

This commit is contained in:
psychobunny
2014-02-27 14:44:47 -05:00
parent 4a33b41464
commit 1db0651bff

View File

@@ -284,7 +284,7 @@ var path = require('path'),
});
});
app.get('/popular/:set?', function (req, res, next) {
/*app.get('/popular/:set?', function (req, res, next) {
var uid = (req.user) ? req.user.uid : 0;
var set = 'topics:' + req.params.set;
if(!req.params.set) {
@@ -296,7 +296,7 @@ var path = require('path'),
}
res.json(data);
});
});
});*/
app.get('/unread', function (req, res, next) {
var uid = (req.user) ? req.user.uid : 0;