mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-04 15:24:23 +01:00
6 lines
233 B
Plaintext
6 lines
233 B
Plaintext
|
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
|