CanCanCommunity/cancancan

View on GitHub
lib/cancan/controller_resource.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Class ControllerResource has 23 methods (exceeds 20 allowed). Consider refactoring.
Open

  class ControllerResource # :nodoc:
    include ControllerResourceLoader

    def self.add_before_action(controller_class, method, *args)
      options = args.extract_options!
Severity: Minor
Found in lib/cancan/controller_resource.rb - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status