dev_course
cxt 6 years ago
parent e4d5f4b056
commit a67bb19f49

@ -2,7 +2,7 @@ json.teacher_list do
json.array! @teacher_list do |teacher|
json.course_member_id teacher.id
json.name teacher.user.real_name
json.name_link user_path(teacher.user.login)
json.name_link user_path(teacher.user)
json.login teacher.user.login
json.user_id teacher.user.id
json.role teacher.role == "CREATOR" ? "管理员" : teacher.role == "PROFESSOR" ? "教师" : "助教"

Loading…
Cancel
Save