mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +01:00
8 lines
220 B
Ruby
8 lines
220 B
Ruby
# frozen_string_literal: true
|
|
|
|
json.array!(@projects) do |project|
|
|
json.extract! project, :id, :name, :description, :slug
|
|
|
|
json.project_image project.project_image.attachment.large.url if project.project_image
|
|
end
|