diff options
author | Logan Fick <logaldeveloper@protonmail.com> | 2017-11-24 22:17:05 -0500 |
---|---|---|
committer | Logan Fick <logaldeveloper@protonmail.com> | 2017-11-24 22:17:05 -0500 |
commit | 9ec0a4002718d3cc223708571e0eb6bfdd2b0da9 (patch) | |
tree | bc176cfeab8bc4cdce411aa33e18fd8a371f0410 /app | |
parent | 8796b3a415ff53e0bf79a5c030328365aa8156d5 (diff) |
Lowered amount of threads shown on forums atom feed.
Diffstat (limited to 'app')
-rw-r--r-- | app/views/forums/show.atom.builder | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/forums/show.atom.builder b/app/views/forums/show.atom.builder index f484655..cfe80fc 100644 --- a/app/views/forums/show.atom.builder +++ b/app/views/forums/show.atom.builder @@ -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 |