|
|
@ -6,6 +6,7 @@ json.members_count course.course_members_count
|
|
|
|
json.homework_commons_count get_tasks_count course
|
|
|
|
json.homework_commons_count get_tasks_count course
|
|
|
|
json.attachments_count course.attachments.count
|
|
|
|
json.attachments_count course.attachments.count
|
|
|
|
json.visits course.visits
|
|
|
|
json.visits course.visits
|
|
|
|
|
|
|
|
json.school course.school&.name
|
|
|
|
|
|
|
|
|
|
|
|
json.first_category_url module_url(course.course_modules.where(hidden: 0).order(position: :desc).first, course)
|
|
|
|
json.first_category_url module_url(course.course_modules.where(hidden: 0).order(position: :desc).first, course)
|
|
|
|
|
|
|
|
|
|
|
|