提交 d4e1f58f 编写于 作者: A Aaron Patterson

remove another `@env` access

上级 cccc759f
......@@ -348,7 +348,7 @@ def port_string
end
def server_port
@env['SERVER_PORT'].to_i
get_header('SERVER_PORT').to_i
end
# Returns the \domain part of a \host, such as "rubyonrails.org" in "www.rubyonrails.org". You can specify
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册