forked from Gitlink/forgeplus
add: user info add gender
This commit is contained in:
parent
317c211de9
commit
6b436acfaf
|
@ -1,5 +1,6 @@
|
|||
json.username @user.full_name
|
||||
json.real_name @user.real_name
|
||||
json.gender @user.gender
|
||||
json.login @user.login
|
||||
json.user_id @user.id
|
||||
json.image_url url_to_avatar(@user)
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
json.username @user.full_name
|
||||
json.real_name @user.real_name
|
||||
json.gender @user.gender
|
||||
json.login @user.login
|
||||
json.user_id @user.id
|
||||
json.image_url url_to_avatar(@user)
|
||||
|
|
Loading…
Reference in New Issue