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:
parent
5f9a2beffd
commit
26ef4fce41
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue