diff --git a/src/routes/feeds.js b/src/routes/feeds.js index 8b84fafde2..1b18024742 100644 --- a/src/routes/feeds.js +++ b/src/routes/feeds.js @@ -53,7 +53,7 @@ function generateForTopic(req, res, next) { - var tid = req.params.tid; + var tid = req.params.topic_id; topics.getTopicWithPosts(tid, 0, 0, 25, true, function (err, topicData) { if (err) {