mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 11:50:49 +08:00
ADD location column for user hovercard api
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
json.id @user.id
|
||||
json.login @user.login
|
||||
json.name @user.full_name
|
||||
json.location @user.location
|
||||
json.image_url url_to_avatar(@user)
|
||||
json.url "#{request.base_url }/users/#{@user.login}"
|
||||
json.followers_count @user.followers_count
|
||||
|
||||
Reference in New Issue
Block a user