Exception: ActionController::StashedRedirects::MissingRedirectError
- Inherits:
-
StandardError
- Object
- StandardError
- ActionController::StashedRedirects::MissingRedirectError
- Includes:
- Module.new
- Defined in:
- lib/action_controller/stashed_redirects.rb
Instance Attribute Summary collapse
-
#purpose ⇒ Object
readonly
Returns the value of attribute purpose.
Instance Method Summary collapse
-
#initialize(purpose) ⇒ MissingRedirectError
constructor
A new instance of MissingRedirectError.
Constructor Details
#initialize(purpose) ⇒ MissingRedirectError
Returns a new instance of MissingRedirectError.
21 22 23 24 |
# File 'lib/action_controller/stashed_redirects.rb', line 21 def initialize(purpose) super "can't extract a stashed redirect_url to redirect_to" @purpose = purpose end |
Instance Attribute Details
#purpose ⇒ Object (readonly)
Returns the value of attribute purpose.
19 20 21 |
# File 'lib/action_controller/stashed_redirects.rb', line 19 def purpose @purpose end |