diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-03-16 05:21:19 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-03-16 05:21:19 +0000 |
commit | f596dda0bb94fc97f4df165978f2bb1e40749645 (patch) | |
tree | 0d64509a015980da4086ff3818aaf380bd0d8554 /actionpack/lib/action_controller | |
parent | 8a9496cb4e795e8b626117195d9f25f2b7e9c2f8 (diff) | |
download | rails-f596dda0bb94fc97f4df165978f2bb1e40749645.tar.gz rails-f596dda0bb94fc97f4df165978f2bb1e40749645.tar.bz2 rails-f596dda0bb94fc97f4df165978f2bb1e40749645.zip |
Undeprecate redirect_to with Hash argument and additional url_for parameters. Closes #7837.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6430 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller')
-rwxr-xr-x | actionpack/lib/action_controller/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index 2f7919cc07..d6c7677d55 100755 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -1037,7 +1037,7 @@ module ActionController #:nodoc: response.redirected_to = options else # TOOD: Deprecate me! - redirect_to(url_for(options, *parameters_for_method_reference)) + redirect_to(url_for(options)) response.redirected_to, response.redirected_to_method_params = options, parameters_for_method_reference end end |