From 4f5245f7e7f79cdd1307e4e981c77ae3226ecd03 Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Fri, 7 Feb 2020 08:02:20 +1300 Subject: [PATCH] Show all of a harvest's photos on harvest#show --- app/views/harvests/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/harvests/show.html.haml b/app/views/harvests/show.html.haml index 1bf04892f..e5b6c2cf9 100644 --- a/app/views/harvests/show.html.haml +++ b/app/views/harvests/show.html.haml @@ -46,7 +46,7 @@ - if @harvest.photos.size.positive? %section %h2 Photos - = render 'photos/gallery', photos: @harvest.photos.order(date_taken: :desc).limit(3) + = render 'photos/gallery', photos: @harvest.photos.order(date_taken: :desc) %section.harvest-detail %h2 Detail - if @harvest.planting.present?