1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-12 23:09:03 +01:00
fab-manager/app/views/open_api/v1/spaces/show.json.jbuilder

6 lines
227 B
Plaintext
Raw Normal View History

# frozen_string_literal: true
json.partial! 'open_api/v1/spaces/space', space: @space
json.extract! @space, :description, :characteristics
json.image URI.join(root_url, @space.space_image.attachment.url) if @space.space_image