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

Removed warning actionpack url.rb

Before:

/Users/Juan/dev/rails/actionpack/lib/action_dispatch/http/url.rb:95: warning: shadowing outer local variable - port

After:

No warning
This commit is contained in:
Juanito Fatas 2014-06-12 14:45:37 +08:00
parent 5f9a2beffd
commit 26ef4fce41

View file

@ -92,8 +92,8 @@ module ActionDispatch
end end
result << host result << host
normalize_port(port, protocol) { |port| normalize_port(port, protocol) { |normalized_port|
result << ":#{port}" result << ":#{normalized_port}"
} }
result result