Skip to content

Commit 760aa3b

Browse files
committed
we never call url_for with a block, so rm
1 parent 33d6e3b commit 760aa3b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

actionpack/lib/action_dispatch/routing/route_set.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,6 @@ def url_for(options)
667667

668668
path_options = options.dup
669669
RESERVED_OPTIONS.each { |ro| path_options.delete ro }
670-
path_options = yield(path_options) if block_given?
671670

672671
path, params = generate(path_options, recall || {})
673672
params.merge!(options[:params] || {})

0 commit comments

Comments
 (0)