mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
1555a1800e
When generating an unnamed url (i.e. using `url_for` with an options hash) we should skip anything other than standard Rails routes otherwise it will match the first mounted application or redirect and generate a url with query parameters rather than raising an error if the options hash doesn't match any defined routes. Fixes #8018 |
||
---|---|---|
.. | ||
gtg | ||
nfa | ||
nodes | ||
path | ||
route/definition | ||
router | ||
route_test.rb | ||
router_test.rb | ||
routes_test.rb |