mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-09 14:34:03 +08:00
init project
This commit is contained in:
11
app/views/courses/search_users.json.jbuilder
Normal file
11
app/views/courses/search_users.json.jbuilder
Normal file
@@ -0,0 +1,11 @@
|
||||
json.users do
|
||||
json.array! @users do |user|
|
||||
json.id user.id
|
||||
json.login user.login
|
||||
json.name user.real_name
|
||||
json.student_id user&.student_id
|
||||
json.school_name user&.school_name
|
||||
json.added @course.course_member?(user.id, 4)
|
||||
end
|
||||
end
|
||||
json.users_count @users_count
|
||||
Reference in New Issue
Block a user