Skip to content

Node.js based forum software built for the modern web

disable topic RSS

psychobunnyb6a8845d528e
diff --git a/src/controllers/topics.js b/src/controllers/topics.js
index 8953ff87ec..3850f071d9 100644
--- a/src/controllers/topics.js
+++ b/src/controllers/topics.js
@@ -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);