From 2f658ef93a4caf91da32fd6efebbf04cdd5f8186 Mon Sep 17 00:00:00 2001 From: Sage Ross Date: Thu, 19 Dec 2024 12:11:33 -0800 Subject: [PATCH] Don't do full update for a manual_update We can also mark a course as needing a full update if that's necessary, but in most cases, I don't want to redo work, I just want to quickly get an update processed. --- app/controllers/courses_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/courses_controller.rb b/app/controllers/courses_controller.rb index c71f71582f..436557d183 100644 --- a/app/controllers/courses_controller.rb +++ b/app/controllers/courses_controller.rb @@ -177,7 +177,7 @@ def tag def manual_update require_super_admin_permissions @course = find_course_by_slug(params[:id]) - UpdateCourseStats.new(@course, full: true) + UpdateCourseStats.new(@course) redirect_to "/courses/#{@course.slug}" end