mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +01:00
3 lines
201 B
Ruby
3 lines
201 B
Ruby
json.extract! @training, :id, :name, :description, :machine_ids, :nb_total_places, :public_page, :disabled
|
|
json.training_image @training.training_image.attachment.large.url if @training.training_image
|