More crops

This commit is contained in:
Brenda Wallace
2020-02-19 17:00:06 +13:00
parent 00a984a3a5
commit 724ba246a3

View File

@@ -1,4 +1,4 @@
- cache cache_key_for(Crop, 'homepage'), expires_in: 1.day do
.index-cards
- CropSearchService.random_with_photos(10).each do |c|
- CropSearchService.random_with_photos(20).each do |c|
= render 'crops/thumbnail', crop: c