diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-07-07 16:16:36 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-07-07 16:16:36 +0000 |
commit | b9b6cb95d3c7a6f623c2b328ae2cf8b3e2a05ef1 (patch) | |
tree | e50b6978613d9cacff92840b8f5b17afbfd5b535 /actionpack/lib/action_controller | |
parent | 703ac4c5ac68f68b48debd1bfc352cd687b2df30 (diff) | |
download | rails-b9b6cb95d3c7a6f623c2b328ae2cf8b3e2a05ef1.tar.gz rails-b9b6cb95d3c7a6f623c2b328ae2cf8b3e2a05ef1.tar.bz2 rails-b9b6cb95d3c7a6f623c2b328ae2cf8b3e2a05ef1.zip |
Fixed routing to allow for testing of *path components #1650 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1762 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/test_process.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/test_process.rb b/actionpack/lib/action_controller/test_process.rb index 71c012c357..8dd2e443ae 100644 --- a/actionpack/lib/action_controller/test_process.rb +++ b/actionpack/lib/action_controller/test_process.rb @@ -75,7 +75,7 @@ module ActionController #:nodoc: if extra_keys.include?(key.to_sym) non_path_parameters[key] = value else - path_parameters[key] = value.to_s + path_parameters[key] = value.is_a?(Fixnum) ? value.to_s : value end end end |