app/policies/application_policy.rb
Showing 1 of 1 total issue
Class ApplicationPolicy
has 24 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class ApplicationPolicy attr_reader :user, :record def initialize(user, record) # raise Pundit::NotAuthorizedError, 'must be logged in' unless user