Method: Pundit.policy!
- Defined in:
- lib/pundit.rb
.policy!(user, *args, **kwargs, &block) ⇒ Object
100 101 102 |
# File 'lib/pundit.rb', line 100 def policy!(user, *args, **kwargs, &block) Context.new(user: user).policy!(*args, **kwargs, &block) end |