mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-10 21:24:20 +01:00
5 lines
175 B
Ruby
5 lines
175 B
Ruby
json.events @events do |event|
|
|
json.partial! 'open_api/v1/events/event', event: event
|
|
json.extract! event, :amount, :reduced_amount, :nb_total_places, :nb_free_places
|
|
end
|