aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing/route_set.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2014-05-13 17:05:32 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2014-05-13 17:05:32 -0700
commit760aa3b52b28aff5653187bbe035a26cf574de3e (patch)
treec63682096aa7807e3efe302df931c3150abfe509 /actionpack/lib/action_dispatch/routing/route_set.rb
parent33d6e3be623d4dbcec077e62699272cbdcd23f37 (diff)
downloadrails-760aa3b52b28aff5653187bbe035a26cf574de3e.tar.gz
rails-760aa3b52b28aff5653187bbe035a26cf574de3e.tar.bz2
rails-760aa3b52b28aff5653187bbe035a26cf574de3e.zip
we never call url_for with a block, so rm
Diffstat (limited to 'actionpack/lib/action_dispatch/routing/route_set.rb')
-rw-r--r--actionpack/lib/action_dispatch/routing/route_set.rb1
1 files changed, 0 insertions, 1 deletions
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] || {})