2017-08-16 12:05:04 +02:00
|
|
|
json.array!(@events) do |event|
|
|
|
|
json.partial! 'api/events/event', event: event
|
|
|
|
json.event_image_medium event.event_image.attachment.medium.url if event.event_image
|
|
|
|
json.url event_url(event, format: :json)
|
2015-05-05 03:10:25 +02:00
|
|
|
end
|