aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2008-11-02 17:57:26 +0530
committerPratik Naik <pratiknaik@gmail.com>2008-11-02 17:58:18 +0530
commit140a5c0d9d5868a9bae060e8702a894dee500012 (patch)
treeb5ad837c082db5d95159ce7ebdf8b9657e708bdc /actionpack
parent485bbc953d8e1eb6ec11aeeb3be7e153ef3d5435 (diff)
downloadrails-140a5c0d9d5868a9bae060e8702a894dee500012.tar.gz
rails-140a5c0d9d5868a9bae060e8702a894dee500012.tar.bz2
rails-140a5c0d9d5868a9bae060e8702a894dee500012.zip
Revert "Added information about @performed_redirect for redirect_to calls."
This reverts commit 712e8ed2aa7b6e656d458f8e4121fb6063d4ae6e. REASON : No need to document internals
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/base.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb
index cf86c5eed0..74c04147fb 100644
--- a/actionpack/lib/action_controller/base.rb
+++ b/actionpack/lib/action_controller/base.rb
@@ -1062,9 +1062,6 @@ module ActionController #:nodoc:
# When using <tt>redirect_to :back</tt>, if there is no referrer,
# RedirectBackError will be raised. You may specify some fallback
# behavior for this case by rescuing RedirectBackError.
- #
- # When using <tt>redirect_to</tt> an instance variable called
- # @performed_redirect will be set to true.
def redirect_to(options = {}, response_status = {}) #:doc:
raise ActionControllerError.new("Cannot redirect to nil!") if options.nil?