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
Ryo Hashimoto 2ea66fc6c5 Fix nested multiple roots
The PR #20940 enabled the use of multiple roots with different constraints
at the top level but unfortunately didn't work when those roots were inside
a namespace and also broke the use of root inside a namespace after a top
level root was defined because the check for the existence of the named route
used the global :root name and not the namespaced name.

This is fixed by using the name_for_action method to expand the :root name to
the full namespaced name. We can pass nil for the second argument as we're not
dealing with resource definitions so don't need to handle the cases for edit
and new routes.

Fixes #26148.
2016-08-29 16:24:51 +01:00
..
abstract Fix broken alignments caused by auto-correct commit 411ccbd 2016-08-10 06:36:39 +09:00
assertions applies new string literal convention in actionpack/test 2016-08-06 18:54:50 +02:00
controller Remove unneeded FIXME note 2016-08-29 11:04:15 -03:00
dispatch Fix nested multiple roots 2016-08-29 16:24:51 +01:00
fixtures Fix deadlock that can occur when child live thread tries to load a constant after writing to the stream. 2016-08-15 17:10:00 -04:00
journey Add three new rubocop rules 2016-08-16 04:30:11 -03:00
lib/controller
routing applies new string literal convention in actionpack/test 2016-08-06 18:54:50 +02:00
tmp
abstract_unit.rb Add three new rubocop rules 2016-08-16 04:30:11 -03:00