mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-04 03:21:18 +01:00
pass dbset as attribute
This commit is contained in:
@@ -54,6 +54,7 @@ recentController.get = function(req, res, next) {
|
||||
var data = {};
|
||||
data.topics = topics;
|
||||
data.nextStart = stop + 1;
|
||||
data.dbSet = 'topics:recent';
|
||||
data['feeds:disableRSS'] = parseInt(meta.config['feeds:disableRSS'], 10) === 1;
|
||||
data.rssFeedUrl = nconf.get('relative_path') + '/recent.rss';
|
||||
data.title = '[[pages:recent]]';
|
||||
|
||||
Reference in New Issue
Block a user