提交 760aa3b5 编写于 作者: A Aaron Patterson

we never call url_for with a block, so rm

上级 33d6e3be
......@@ -667,7 +667,6 @@ def url_for(options)
path_options = options.dup
RESERVED_OPTIONS.each { |ro| path_options.delete ro }
path_options = yield(path_options) if block_given?
path, params = generate(path_options, recall || {})
params.merge!(options[:params] || {})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册