mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
5 lines
199 B
Ruby
5 lines
199 B
Ruby
json.array!(@spaces) do |space|
|
|
json.extract! space, :id, :name, :description, :slug, :default_places, :disabled
|
|
json.space_image space.space_image.attachment.medium.url if space.space_image
|
|
end
|