diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-10-01 10:20:50 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-10-01 10:20:50 +0900 |
commit | 28ac0b30f24ce4d4da8a21da06d2f84ad4fce3bf (patch) | |
tree | fd6226096551f42b58f3eb916b8fa7b75565bd6d /actionpack/lib | |
parent | b13a5cb83ea00d6a3d71320fd276ca21049c2544 (diff) | |
parent | e385e4678fc64be6e176c3bdac6641db9fe48d85 (diff) | |
download | rails-28ac0b30f24ce4d4da8a21da06d2f84ad4fce3bf.tar.gz rails-28ac0b30f24ce4d4da8a21da06d2f84ad4fce3bf.tar.bz2 rails-28ac0b30f24ce4d4da8a21da06d2f84ad4fce3bf.zip |
Merge pull request #33256 from ilkkao/ilkkao/remove-unused-params-option
Don't handle params option in a special way in url_for helper
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/route_set.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb index dc97d4b89c..3b7611acc0 100644 --- a/actionpack/lib/action_dispatch/routing/route_set.rb +++ b/actionpack/lib/action_dispatch/routing/route_set.rb @@ -858,10 +858,6 @@ module ActionDispatch path, params = generate(route_name, path_options, recall) - if options.key? :params - params.merge! options[:params] - end - options[:path] = path options[:script_name] = script_name options[:params] = params |