This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
add: user info add gender
tags/v3.1.0^2^2^2
viletyy
5 years ago
parent
317c211de9
commit
6b436acfaf
2 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
app/views/users/get_user_info.json.jbuilder
+1
-0
app/views/users/show.json.jbuilder
+ 1
- 0
app/views/users/get_user_info.json.jbuilder
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)
+ 1
- 0
app/views/users/show.json.jbuilder
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)
Write
Preview
Loading…
Cancel
Save