Module: Doorman::Helpers
- Defined in:
- lib/rails_doorman/helpers.rb
Instance Method Summary collapse
Instance Method Details
#allow(*args, &blk) ⇒ Object
4 5 6 |
# File 'lib/rails_doorman/helpers.rb', line 4 def allow(*args, &blk) _capture_within_rule_context(:allow, args, &blk) end |
#deny(*args, &blk) ⇒ Object
8 9 10 |
# File 'lib/rails_doorman/helpers.rb', line 8 def deny(*args, &blk) _capture_within_rule_context(:deny, args, &blk) end |