mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-05 16:24:21 +01:00
6 lines
175 B
Ruby
6 lines
175 B
Ruby
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
|
|
|
|
end
|