mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-10 06:49:49 +08:00
Merge pull request '根据需求返回fork list 中的user mail' (#88) from KingChan/forgeplus:chenjing into standalone_develop
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user