1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/app/views/api/events/show.json.jbuilder

11 lines
362 B
Plaintext
Raw Normal View History

2015-05-05 03:10:25 +02:00
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
2016-03-23 18:39:41 +01:00
json.nb_free_places e.nb_free_places
2015-05-05 03:10:25 +02:00
json.availability_id e.availability_id
end