mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-10 16:54:38 -04:00
Update _harvests.html.haml
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user