Cache collection rendering

This commit is contained in:
echarp 2019-04-19 14:05:36 +02:00
parent a14b32075e
commit 559e4554d8

View File

@ -31,7 +31,7 @@
= month_calendar events: @events do |date, events|
- capture_haml do
.day_number= date.day
%ul.events.fa-ul= render events, cached: true
%ul.events.fa-ul= render partial: :event, collection: events, cached: true
.links
= raw t '.calendar_in',