aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/redirect_test.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2019-01-16 10:58:58 -0500
committerRafael Mendonça França <rafaelmfranca@gmail.com>2019-01-16 11:12:49 -0500
commit17e4b49292fb8da8a212e8200e2e94c44aedb788 (patch)
tree83cb7afb0e8e1d3cde5e8bc8db973bb7ecb58137 /actionpack/test/controller/redirect_test.rb
parentd67863af390b45ed8dde551071a29b3d347bb8be (diff)
downloadrails-17e4b49292fb8da8a212e8200e2e94c44aedb788.tar.gz
rails-17e4b49292fb8da8a212e8200e2e94c44aedb788.tar.bz2
rails-17e4b49292fb8da8a212e8200e2e94c44aedb788.zip
Revert "Don't handle params option in a special way in url_for helper"
This reverts commit e385e4678fc64be6e176c3bdac6641db9fe48d85. While this option was undocumented it exists to make possible to pass parameters to the route helpers that are reserved like `:domain`. While `url_for(domain: 'foo.com')` would generate a URL in the `foo.com` domain `url_for(params: { domain: 'foo.com' })` would generate a URL with `?domain=foo.com`.
Diffstat (limited to 'actionpack/test/controller/redirect_test.rb')
0 files changed, 0 insertions, 0 deletions