mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
we never call url_for with a block, so rm
This commit is contained in:
parent
33d6e3be62
commit
760aa3b52b
1 changed files with 0 additions and 1 deletions
|
@ -667,7 +667,6 @@ module ActionDispatch
|
|||
|
||||
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] || {})
|
||||
|
|
Loading…
Reference in a new issue