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.



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

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.



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

def action_name
  @action_name
end

#controllerObject (readonly)

Returns the value of attribute controller.



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

def controller
  @controller
end