Files
adamantium/app/views/places/index.rb
2023-02-19 19:05:57 +11:00

16 lines
309 B
Ruby

module Adamantium
module Views
module Places
class Index < Adamantium::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