mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-03 14:24:23 +01:00
7 lines
201 B
Ruby
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
|