mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
9 lines
257 B
Ruby
9 lines
257 B
Ruby
json.status 0
|
|
json.username @user.full_name
|
|
json.real_name @user.real_name
|
|
json.login @user.login
|
|
json.user_id @user.id
|
|
json.image_url url_to_avatar(@user)
|
|
json.admin @user.admin?
|
|
json.user_identity @user.identity
|
|
json.is_watch current_user&.watched?(@user) |