diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2019-01-16 10:58:58 -0500 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2019-01-16 11:12:49 -0500 |
commit | 17e4b49292fb8da8a212e8200e2e94c44aedb788 (patch) | |
tree | 83cb7afb0e8e1d3cde5e8bc8db973bb7ecb58137 /activemodel/CHANGELOG.md | |
parent | d67863af390b45ed8dde551071a29b3d347bb8be (diff) | |
download | rails-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 'activemodel/CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions