提交 567aa544 编写于 作者: A Aaron Patterson

options should always be passed to url_for

上级 59532664
......@@ -645,9 +645,9 @@ def _generate_prefix(options = {})
nil
end
# The +options+ argument must be +nil+ or a hash whose keys are *symbols*.
# The +options+ argument must be a hash whose keys are *symbols*.
def url_for(options)
options = default_url_options.merge(options || {})
options = default_url_options.merge options
user = password = nil
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册