Cache collection rendering
This commit is contained in:
parent
a14b32075e
commit
559e4554d8
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user