add setting for new 'most active' algorithm
This commit is contained in:
@@ -31,4 +31,9 @@ namespace :settings do
|
||||
Setting['featured_proposals_number'] = 3
|
||||
end
|
||||
|
||||
desc "Create new period to calculate hot_score"
|
||||
task create_hot_score_period_setting: :environment do
|
||||
Setting['hot_score_period_in_days'] = 31
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user