module Pundit::Authorization
def pundit_policy_scope(scope)
- Api: - private
Other tags:
- See: Pundit::Helper#policy_scope -
Other tags:
- Note: - This also memoizes the instance with `scope` as the key.
def pundit_policy_scope(scope) policy_scopes[scope] ||= pundit.policy_scope!(scope) end