mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-12 23:09:03 +01:00
6 lines
227 B
Plaintext
6 lines
227 B
Plaintext
|
# 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
|