pupilfirst/pupilfirst

View on GitHub
app/controllers/schools/courses_controller.rb

Summary

Maintainability
A
1 hr
Test Coverage
A
95%

Method update_coach_enrollments has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def update_coach_enrollments
      course =
        authorize(
          scope.find(params[:course_id]),
          policy_class: Schools::CoursePolicy
Severity: Minor
Found in app/controllers/schools/courses_controller.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status