Module: Pundit::Helper Private
- Defined in:
- lib/pundit/helper.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Rails view helpers, to allow a slightly different view-specific implementation of the methods in Authorization.
Instance Method Summary collapse
- #policy_scope(scope) ⇒ Object private
Instance Method Details
#policy_scope(scope) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
12 13 14 |
# File 'lib/pundit/helper.rb', line 12 def policy_scope(scope) pundit_policy_scope(scope) end |