1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-04 15:24:23 +01:00
fab-manager/app/views/api/projects/last_published.json.jbuilder

8 lines
264 B
Plaintext
Raw Normal View History

2019-06-06 16:34:53 +02:00
# frozen_string_literal: true
2015-05-05 03:10:25 +02:00
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