pass dbset as attribute

This commit is contained in:
pichalite
2016-07-15 23:43:49 +00:00
parent d58657178f
commit f72e00a1b5
2 changed files with 2 additions and 1 deletions

View File

@@ -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]]';