add: user info add gender

This commit is contained in:
viletyy 2021-06-03 15:22:08 +08:00
parent 317c211de9
commit 6b436acfaf
2 changed files with 2 additions and 0 deletions

View File

@ -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)

View File

@ -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)