Exception: CanCanDry::AbilityMapping::ActionMappingNotFound

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/can_can_dry/ability_mapping/action_mapping_not_found.rb

Instance Method Summary collapse

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