Clean up trips UI

This commit is contained in:
2023-07-01 12:20:03 +10:00
parent 32ae142ce3
commit 250de0c430
6 changed files with 31 additions and 27 deletions

View File

@@ -9,7 +9,9 @@ module Admin
end
expose :posts do |trip|
post_repo.created_between(trip.start_date, trip.end_date)
post_repo.created_between(trip.start_date, trip.end_date).map do |post|
Adamantium::Decorators::Posts::Decorator.new(post)
end
end
end
end