disable topic RSS

This commit is contained in:
psychobunny
2014-07-17 01:33:57 -04:00
parent dab44e0768
commit b6a8845d52

View File

@@ -173,6 +173,7 @@ topicsController.get = function(req, res, next) {
data.privileges = userPrivileges;
data['reputation:disabled'] = meta.config['reputation:disabled'] === '1' ? true : false;
data['feeds:disableRSS'] = meta.config['feeds:disableRSS'] === '1' ? true : false;
var topic_url = tid + (req.params.slug ? '/' + req.params.slug : '');
var queryString = qs.stringify(req.query);