1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Ruby 1.9.1 requires hash given to foormat to contain symbols.

This commit is contained in:
José Valim 2010-01-06 00:42:58 +01:00
parent 0cf190001e
commit 10389a4c29

View file

@ -205,7 +205,7 @@ module ActionDispatch
lambda do |env|
req = Request.new(env)
uri = URI.parse(path_proc.call(req.params))
uri = URI.parse(path_proc.call(req.params.symbolize_keys))
uri.scheme ||= req.scheme
uri.host ||= req.host
uri.port ||= req.port unless req.port == 80