aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/base.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib/action_controller/base.rb')
-rwxr-xr-xactionpack/lib/action_controller/base.rb2
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