mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-05 16:24:21 +01:00
6 lines
233 B
Ruby
6 lines
233 B
Ruby
json.array!(@projects) do |project|
|
|
json.extract! project, :id, :name, :description, :slug
|
|
json.url project_url(project, format: :json)
|
|
json.project_image project.project_image.attachment.large.url if project.project_image
|
|
end
|