ADD fork info for repositories show action

This commit is contained in:
Jasder 2020-08-13 14:40:35 +08:00
parent 28c7199ce6
commit 425a374332
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ json.fork_info do
if @fork_project.present?
json.fork_form_name @fork_project.try(:name)
json.fork_project_user_login @fork_project_user.try(:login)
json.fork_project_identifier @fork_project.identifier
json.fork_project_user_name @fork_project_user.try(:show_real_name)
end
end