aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Seckar <nseckar@gmail.com>2005-09-07 08:59:33 +0000
committerNicholas Seckar <nseckar@gmail.com>2005-09-07 08:59:33 +0000
commit2f66e873b0bc73825ea216d9436d16d1de7dd54a (patch)
treec3eb2d1eddfe5e01fb4383cc99abb5bb8a3a6072
parent3108764367023aabaee04d1dbcbed8eb76e61184 (diff)
downloadrails-2f66e873b0bc73825ea216d9436d16d1de7dd54a.tar.gz
rails-2f66e873b0bc73825ea216d9436d16d1de7dd54a.tar.bz2
rails-2f66e873b0bc73825ea216d9436d16d1de7dd54a.zip
Symbolize the keys of overwritten parameters. Really closes #1909.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2147 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r--actionpack/lib/action_controller/url_rewriter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/url_rewriter.rb b/actionpack/lib/action_controller/url_rewriter.rb
index acad0b7b8c..bc82fda5db 100644
--- a/actionpack/lib/action_controller/url_rewriter.rb
+++ b/actionpack/lib/action_controller/url_rewriter.rb
@@ -37,7 +37,7 @@ module ActionController
options = options.symbolize_keys
options.update(options[:params].symbolize_keys) if options[:params]
if (overwrite = options.delete(:overwrite_params))
- options.update(@parameters)
+ options.update(@parameters.symbolize_keys)
options.update(overwrite)
end
RESERVED_OPTIONS.each {|k| options.delete k}