1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-30 19:52:20 +01:00
fab-manager/app/views/api/events/show.json.jbuilder
2015-05-05 03:10:25 +02:00

10 lines
323 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.availability_id e.availability_id
end