1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/journey
Andrew White 1555a1800e Skip Rack applications and redirects when generating urls
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
2013-07-16 13:39:17 +01:00
..
gtg Use ActiveSupport::TestCase in the journey tests 2012-12-31 14:40:43 -03:00
nfa Use ActiveSupport::TestCase in the journey tests 2012-12-31 14:40:43 -03:00
nodes Use ActiveSupport::TestCase in the journey tests 2012-12-31 14:40:43 -03:00
path Make ActionDispatch::Journey::Path::Pattern#new raise more meaningful exception message. 2013-02-27 08:26:51 +08:00
route/definition Use ActiveSupport::TestCase in the journey tests 2012-12-31 14:40:43 -03:00
router Use ActiveSupport::TestCase in the journey tests 2012-12-31 14:40:43 -03:00
route_test.rb Change the behavior of route defaults 2013-01-15 17:22:25 +00:00
router_test.rb Skip Rack applications and redirects when generating urls 2013-07-16 13:39:17 +01:00
routes_test.rb Use ActiveSupport::TestCase in the journey tests 2012-12-31 14:40:43 -03:00