mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
init project
This commit is contained in:
8
app/views/users/_user_small.json.jbuilder
Normal file
8
app/views/users/_user_small.json.jbuilder
Normal file
@@ -0,0 +1,8 @@
|
||||
# 单表存储的信息可以放里面
|
||||
json.array! users do |user|
|
||||
json.username user.full_name
|
||||
json.login user.login
|
||||
json.user_id user.id
|
||||
json.image_url url_to_avatar(user)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user