mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
style changes
This commit is contained in:
@@ -150,6 +150,9 @@ topicsController.get = function (req, res, callback) {
|
||||
if (req.uid) {
|
||||
topicData.rssFeedUrl += '?uid=' + req.uid + '&token=' + rssToken;
|
||||
}
|
||||
|
||||
addTags(topicData, req, res);
|
||||
|
||||
topicData.postIndex = req.params.post_index;
|
||||
topicData.pagination = pagination.create(currentPage, pageCount, req.query);
|
||||
topicData.pagination.rel.forEach(function (rel) {
|
||||
@@ -163,8 +166,6 @@ topicsController.get = function (req, res, callback) {
|
||||
req.session.tids_viewed[tid] = Date.now();
|
||||
}
|
||||
|
||||
addTags(topicData, req, res);
|
||||
|
||||
if (req.uid) {
|
||||
topics.markAsRead([tid], req.uid, function (err, markedRead) {
|
||||
if (err) {
|
||||
|
||||
Reference in New Issue
Block a user