volontariat/voluntary

View on GitHub
app/controllers/voluntary/api/v1/things/arguments_controller.rb

Summary

Maintainability
A
1 hr
Test Coverage

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

          def comparison
            options = {}
          
            arguments = Argument.compare_two_argumentables(params[:argumentable_type], params[:side], params[:left_thing_name], params[:right_thing_name]).
                        paginate(page: params[:page], per_page: 10)
Severity: Minor
Found in app/controllers/voluntary/api/v1/things/arguments_controller.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status