1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-05 16:24:21 +01:00
fab-manager/app/views/api/reservations/index.json.jbuilder
2016-03-23 18:39:41 +01:00

5 lines
146 B
Ruby

json.array!(@reservations) do |r|
json.partial! 'api/reservations/reservation', reservation: r
json.url reservation_url(r, format: :json)
end