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.
81 82 83 |
# File 'lib/action_controller/base.rb', line 81 def initialize( = nil) super( || DEFAULT_MESSAGE) end |