commit
b805ba2a38
@ -0,0 +1,2 @@
|
||||
json.work_id @work&.id
|
||||
json.user_name @work&.user&.real_name
|
@ -1,4 +1,5 @@
|
||||
json.(@course, :id, :name, :course_members_count, :credit, :invite_code_halt)
|
||||
json.teachers_count @course.teachers.count
|
||||
json.students_count @course.students.count
|
||||
json.course_identity @current_user.course_identity(@course)
|
||||
json.course_identity @current_user.course_identity(@course)
|
||||
json.teacher_users @teacher_users
|
Loading…
Reference in new issue