1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-10 21:24:20 +01:00
fab-manager/app/views/api/spaces/index.json.jbuilder

7 lines
230 B
Plaintext
Raw Normal View History

2021-12-21 09:51:40 +01:00
# frozen_string_literal: true
2017-02-13 16:10:12 +01:00
json.array!(@spaces) do |space|
2017-10-11 14:58:38 +02:00
json.extract! space, :id, :name, :description, :slug, :default_places, :disabled
2017-02-13 16:10:12 +01:00
json.space_image space.space_image.attachment.medium.url if space.space_image
end