diff options
author | Santiago Pastorino and José Ignacio Costa <santiago+jose@wyeworks.com> | 2010-02-01 17:00:26 -0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-02-02 11:58:38 +0100 |
commit | afdf52402ea7cb153be54a342f0e6502a159e327 (patch) | |
tree | cf9a38b69f6ad27e6741c72d64924e946ec1b006 /actionpack | |
parent | 95eadb39bd2abe986f0981a8e03c317ec9c1bca0 (diff) | |
download | rails-afdf52402ea7cb153be54a342f0e6502a159e327.tar.gz rails-afdf52402ea7cb153be54a342f0e6502a159e327.tar.bz2 rails-afdf52402ea7cb153be54a342f0e6502a159e327.zip |
Routing Mapper with % interpolation on Ruby 1.9.1 fixed [#3837 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index 5199984814..8de68b3174 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -207,8 +207,7 @@ module ActionDispatch lambda do |env| req = Request.new(env) - - uri = URI.parse(path_proc.call(req.params.symbolize_keys)) + uri = URI.parse(path_proc.call(req.symbolized_path_parameters)) uri.scheme ||= req.scheme uri.host ||= req.host uri.port ||= req.port unless req.port == 80 |