Update _harvests.html.haml

This commit is contained in:
Daniel O'Connor
2026-04-28 13:01:02 +09:30
committed by GitHub
parent 50ab6f39ee
commit 22638371c2

View File

@@ -7,7 +7,6 @@
%ul.list-group.list-group-flush
- Rails.cache.fetch([crop, "recent_harvests", Time.zone.today]) do
- Harvest.where(crop: crop).includes(:owner).order(harvested_at: :desc).limit(3).each do |harvest|
- cache [harvest, Time.zone.today] do
%li.list-group-item
= link_to harvest_path(harvest), class: 'card-link' do
= harvest_icon