parent
7e4c435f21
commit
a7af3f4a6d
@ -0,0 +1,4 @@
|
||||
json.(@course, :id, :name, :course_members_count, :credit)
|
||||
json.teachers_count @course.teachers.count
|
||||
json.students_count @course.students.count
|
||||
json.course_identity @current_user.course_identity(@course)
|
Loading…
Reference in new issue