Add places

This commit is contained in:
2023-02-19 19:05:57 +11:00
parent 9b4fd437cd
commit 23c702b2b9
16 changed files with 143 additions and 3 deletions

15
app/views/places/index.rb Normal file
View File

@@ -0,0 +1,15 @@
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