diff --git a/app/controllers/courses_controller.rb b/app/controllers/courses_controller.rb index baf522848..71b6733db 100644 --- a/app/controllers/courses_controller.rb +++ b/app/controllers/courses_controller.rb @@ -119,6 +119,7 @@ class CoursesController < ApplicationController .or(videos.where(videos: {user_id: current_user.id})) .or(videos.where(course_videos: {is_link: true})) @count = videos.count + logger.info("#######count:#{@count}") @videos = paginate videos end