diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2008-11-02 04:02:40 +0530 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-11-02 04:02:40 +0530 |
commit | b047929c14f088d535eea460ddd8769f43cd4ae5 (patch) | |
tree | 221d816ef0c908044fd6029950ccad064866ab8f /actionpack/lib/action_controller/base.rb | |
parent | 5a02f0bccf55191c2cfbcc69bd8165df6d7a2012 (diff) | |
download | rails-b047929c14f088d535eea460ddd8769f43cd4ae5.tar.gz rails-b047929c14f088d535eea460ddd8769f43cd4ae5.tar.bz2 rails-b047929c14f088d535eea460ddd8769f43cd4ae5.zip |
Merge with docrails
Diffstat (limited to 'actionpack/lib/action_controller/base.rb')
-rw-r--r-- | actionpack/lib/action_controller/base.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index 74c04147fb..cf86c5eed0 100644 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -1062,6 +1062,9 @@ 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? |