Exception: ActionController::RedirectBackError
- Inherits:
-
ActionControllerError
- Object
- StandardError
- ActionControllerError
- ActionController::RedirectBackError
- Defined in:
- lib/action_controller/base.rb
Overview
:nodoc:
Constant Summary collapse
- DEFAULT_MESSAGE =
'No HTTP_REFERER was set in the request to this action, so redirect_to :back could not be called successfully. If this is a test, make sure to specify request.env["HTTP_REFERER"].'
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ RedirectBackError
constructor
A new instance of RedirectBackError.
Constructor Details
#initialize(message = nil) ⇒ RedirectBackError
Returns a new instance of RedirectBackError.
72 73 74 |
# File 'lib/action_controller/base.rb', line 72 def initialize( = nil) super( || DEFAULT_MESSAGE) end |