mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +01:00
5 lines
170 B
Ruby
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
|