forgeplus/app/views/forks/create.json.jbuilder

7 lines
105 B
Ruby

if @new_project
json.id @new_project.id
json.identifier @new_project.identifier
else
json.nil!
end