1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/app/views/open_api/v1/trainings/index.json.jbuilder
2016-05-04 18:17:50 +02:00

5 lines
170 B
Ruby

json.trainings @trainings do |training|
json.partial! 'open_api/v1/trainings/training', training: training
json.extract! training, :nb_total_places, :description
end