forgeplus/app/views/projects/_detail.json.jbuilder

8 lines
233 B
Ruby

json.id project.id
json.identifier project.identifier
json.name project.name
json.description project.description
json.is_public project.is_public
json.owner do
json.partial! "/users/user_simple", locals: {user: project.owner}
end