module Pundit::Authorization

def pundit_policy_scoped?

Other tags:
    See: #skip_policy_scope -
    See: #policy_scope -

Returns:
  • (Boolean) - wether or not policy scoping has been performed
def pundit_policy_scoped?
  !!@_pundit_policy_scoped
end