|
|
@ -14,6 +14,7 @@ if @course
|
|
|
|
if params[:group_info]
|
|
|
|
if params[:group_info]
|
|
|
|
json.group_info @course.teacher_group(@user.id) if @course_identity < Course::STUDENT
|
|
|
|
json.group_info @course.teacher_group(@user.id) if @course_identity < Course::STUDENT
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
json.first_category_url module_url(@course.none_hidden_course_modules.first, @course)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
if params[:school]
|
|
|
|
if params[:school]
|
|
|
|