rosa-abf/rosa-build

View on GitHub
app/policies/application_policy.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Showing 1 of 1 total issue

Class ApplicationPolicy has 24 methods (exceeds 20 allowed). Consider refactoring.
Open

class ApplicationPolicy
attr_reader :user, :record
 
def initialize(user, record)
# raise Pundit::NotAuthorizedError, 'must be logged in' unless user
Severity: Minor
Found in app/policies/application_policy.rb - About 2 hrs to fix
    Category
    Status