Exception: CanCanDry::AbilityMapping::ActionMappingNotFound
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- CanCanDry::AbilityMapping::ActionMappingNotFound
- Defined in:
- lib/can_can_dry/ability_mapping/action_mapping_not_found.rb
Instance Method Summary collapse
-
#initialize(controller, action) ⇒ ActionMappingNotFound
constructor
A new instance of ActionMappingNotFound.
Constructor Details
#initialize(controller, action) ⇒ ActionMappingNotFound
Returns a new instance of ActionMappingNotFound.
6 7 8 9 |
# File 'lib/can_can_dry/ability_mapping/action_mapping_not_found.rb', line 6 def initialize(controller, action) super('Nenhum mapeamento de controle de acesso encontrado ' \ "para a action \"#{controller}##{action}\"") end |