Merge pull request '根据需求返回fork list 中的user mail' (#88) from KingChan/forgeplus:chenjing into standalone_develop
This commit is contained in:
commit
d871c45fca
|
@ -3,6 +3,7 @@ json.user do
|
|||
json.type @user.type
|
||||
json.name @user.real_name
|
||||
json.login @user.login
|
||||
json.mail @user.mail
|
||||
json.image_url url_to_avatar(@user)
|
||||
json.forked Project.exists?(user_id: @user.id, forked_from_project_id: @project.id)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue