Update RSS feeds

This commit is contained in:
2024-01-27 11:01:22 +11:00
parent f194e216d0
commit f680ee8647
5 changed files with 20 additions and 6 deletions

View File

@@ -8,7 +8,9 @@ module Adamantium
expose :posts do
post_repo.for_rss.map do |post|
Decorators::Posts::Decorator.new post
post.post_type == "bookmark" ?
Decorators::Bookmarks::Decorator.new(post) :
Decorators::Posts::Decorator.new(post)
end
end