mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 19:53:05 +08:00
11 lines
206 B
Ruby
11 lines
206 B
Ruby
if @new_project
|
|
json.status 0
|
|
json.message "fork项目成功"
|
|
json.id @new_project.id
|
|
json.identifier @new_project.identifier
|
|
else
|
|
json.status -1
|
|
json.message "fork项目失败"
|
|
json.nil!
|
|
end
|