module Pundit::Authorization
def verify_policy_scoped
-
(void)
-
Raises:
-
(AuthorizationNotPerformedError)
- if policy scoping has not been performed
Other tags:
- See: https://github.com/varvet/pundit#ensuring-policies-and-scopes-are-used -
def verify_policy_scoped raise PolicyScopingNotPerformedError, self.class unless pundit_policy_scoped? end