mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
closes #5755
This commit is contained in:
@@ -262,6 +262,7 @@ topicsController.get = function (req, res, callback) {
|
||||
data.postDeleteDuration = parseInt(meta.config.postDeleteDuration, 10) || 0;
|
||||
data.scrollToMyPost = settings.scrollToMyPost;
|
||||
data.rssFeedUrl = nconf.get('relative_path') + '/topic/' + data.tid + '.rss';
|
||||
data.postIndex = req.params.post_index;
|
||||
data.pagination = pagination.create(currentPage, pageCount, req.query);
|
||||
data.pagination.rel.forEach(function (rel) {
|
||||
rel.href = nconf.get('url') + '/topic/' + data.slug + rel.href;
|
||||
|
||||
Reference in New Issue
Block a user