loomio/loomio

View on GitHub
app/controllers/api/v1/snorlax_base.rb

Summary

Maintainability
C
7 hrs
Test Coverage

Class SnorlaxBase has 53 methods (exceeds 20 allowed). Consider refactoring.
Open

class API::V1::SnorlaxBase < ActionController::Base
  rescue_from(CanCan::AccessDenied)                    { |e| respond_with_standard_error e, 403 }
  rescue_from(ActionController::UnpermittedParameters) { |e| respond_with_standard_error e, 400 }
  rescue_from(ActionController::ParameterMissing)      { |e| respond_with_standard_error e, 400 }
  rescue_from(ActiveRecord::RecordNotFound)            { |e| respond_with_standard_error e, 404 }
Severity: Major
Found in app/controllers/api/v1/snorlax_base.rb - About 7 hrs to fix

    There are no issues that match your filters.

    Category
    Status