From c593721e7c5749311c5c8e503c3b248194292d6f Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Fri, 16 Mar 2007 13:55:36 +0000 Subject: Revert [6430] since the test is faulty. References #7837, closes #7842. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6435 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_controller') diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index d6c7677d55..2f7919cc07 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)) + redirect_to(url_for(options, *parameters_for_method_reference)) response.redirected_to, response.redirected_to_method_params = options, parameters_for_method_reference end end -- cgit v1.2.3