Skip to content

Commit

Permalink
Don't do full update for a manual_update
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ragesoss committed Dec 19, 2024
1 parent c16d5f8 commit 2f658ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/courses_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2f658ef

Please sign in to comment.