1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-03 14:24:23 +01:00
fab-manager/app/views/open_api/v1/trainings/index.json.jbuilder
2023-03-03 10:09:07 +01:00

7 lines
201 B
Ruby

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