Update home

This commit is contained in:
2023-02-25 13:57:42 +11:00
parent 1af509ec60
commit a5e2cf28c8
3 changed files with 11 additions and 7 deletions

View File

@@ -15,6 +15,12 @@ module Adamantium
Decorators::Posts::Decorator.new(post)
end
end
expose :photo_posts do
post_repo.photo_listing(limit: 12).map do |post|
Decorators::Posts::Decorator.new(post)
end
end
end
end
end