2017-02-13 16:10:12 +01:00
|
|
|
json.array!(@spaces) do |space|
|
2017-02-15 11:32:29 +01:00
|
|
|
json.extract! space, :id, :name, :description, :slug, :default_places
|
2017-02-13 16:10:12 +01:00
|
|
|
json.space_image space.space_image.attachment.medium.url if space.space_image
|
|
|
|
end
|