Class: CanCanDry::AbilityMapping::FindCanArgsList
- Inherits:
-
Object
- Object
- CanCanDry::AbilityMapping::FindCanArgsList
- Defined in:
- lib/can_can_dry/ability_mapping.rb
Constant Summary collapse
- ALL_ACTION =
::CanCanDry::AbilityMapping::ALL_ACTION
Instance Method Summary collapse
Instance Method Details
#find ⇒ Object
93 94 95 96 |
# File 'lib/can_can_dry/ability_mapping.rb', line 93 def find validate find_by_action || find_by_all_action || raise_mapping_not_found end |