Module: Pundit::Helper Private

Defined in:
lib/pundit.rb

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.

Instance Method Summary collapse

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.


156
157
158
# File 'lib/pundit.rb', line 156

def policy_scope(scope)
  pundit_policy_scope(scope)
end