mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-05 16:24:21 +01:00
11 lines
362 B
Ruby
11 lines
362 B
Ruby
json.partial! 'api/events/event', event: @event
|
|
json.recurrence_events @event.recurrence_events do |e|
|
|
json.id e.id
|
|
json.start_date e.availability.start_at
|
|
json.start_time e.availability.start_at
|
|
json.end_date e.availability.end_at
|
|
json.end_time e.availability.end_at
|
|
json.nb_free_places e.nb_free_places
|
|
json.availability_id e.availability_id
|
|
end
|