mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +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
|