Merge branch 'dev_change_route' into dev_devops

This commit is contained in:
Jasder 2020-08-15 11:06:04 +08:00
commit fb733722d6
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ json.count @forks_count
json.users do
json.array! @fork_users.each do |f|
user = f.user
fork_project = Project.select(:id,:name).find_by(id: f.fork_project_id)
fork_project = Project.select(:id,:name, :identifier).find_by(id: f.fork_project_id)
json.id f.fork_project_id
json.identifier fork_project.identifier
json.name "#{user.try(:show_real_name)}/#{fork_project.try(:name)}"