diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-13 17:05:32 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-13 17:05:32 -0700 |
commit | 760aa3b52b28aff5653187bbe035a26cf574de3e (patch) | |
tree | c63682096aa7807e3efe302df931c3150abfe509 /actionpack/lib | |
parent | 33d6e3be623d4dbcec077e62699272cbdcd23f37 (diff) | |
download | rails-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')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/route_set.rb | 1 |
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] || {}) |