Files
adamantium/slices/main/views/places/index.rb
2024-02-21 21:48:44 +11:00

16 lines
297 B
Ruby

module Main
module Views
module Places
class Index < Main::View
include Deps["repos.post_repo"]
expose :places do
post_repo.places_listing.map do |post|
Decorators::Posts::Decorator.new(post)
end
end
end
end
end
end