From 760aa3b52b28aff5653187bbe035a26cf574de3e Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 13 May 2014 17:05:32 -0700 Subject: [PATCH] we never call url_for with a block, so rm --- actionpack/lib/action_dispatch/routing/route_set.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb index 8aad5907ba..bf48544ff5 100644 --- a/actionpack/lib/action_dispatch/routing/route_set.rb +++ b/actionpack/lib/action_dispatch/routing/route_set.rb @@ -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] || {})