Lowered amount of threads shown on forums atom feed.

This commit is contained in:
Logan Fick
2017-11-24 22:17:05 -05:00
parent 8796b3a415
commit 9ec0a40027

View File

@@ -2,7 +2,7 @@ atom_feed do |feed|
feed.title "Latest threads in " + @forum.name
feed.updated Time.now
@threads.limit(100).each do |thread|
@threads.limit(10).each do |thread|
unless thread.sticky?
feed.entry thread do |entry|
entry.updated thread.updated_at