Exception: ActionController::MissingExactTemplate

Inherits:
UnknownFormat show all
Defined in:
lib/action_controller/metal/exceptions.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, controller, action_name) ⇒ MissingExactTemplate

Returns a new instance of MissingExactTemplate.



97
98
99
100
101
102
# File 'lib/action_controller/metal/exceptions.rb', line 97

def initialize(message, controller, action_name)
  @controller  = controller
  @action_name = action_name

  super(message)
end

Instance Attribute Details

#action_nameObject (readonly)

Returns the value of attribute action_name.



95
96
97
# File 'lib/action_controller/metal/exceptions.rb', line 95

def action_name
  @action_name
end

#controllerObject (readonly)

Returns the value of attribute controller.



95
96
97
# File 'lib/action_controller/metal/exceptions.rb', line 95

def controller
  @controller
end