diff --git a/app/views/api/events/halfnarp_friendly.jbuilder b/app/views/api/events/halfnarp_friendly.jbuilder index 2ac6672..989201b 100644 --- a/app/views/api/events/halfnarp_friendly.jbuilder +++ b/app/views/api/events/halfnarp_friendly.jbuilder @@ -1,4 +1,4 @@ -json.array! @events do |event| +json.array! @events, cached: ->(event) { [event, event.track, event.event_type] } do |event| json.id event.id json.title event.title json.abstract event.abstract