1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/app/views/open_api/v1/trainings/index.json.jbuilder

5 lines
170 B
Plaintext
Raw Normal View History

2016-05-04 18:17:50 +02:00
json.trainings @trainings do |training|
json.partial! 'open_api/v1/trainings/training', training: training
json.extract! training, :nb_total_places, :description
end