mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
0713265fd1
We want to avoid terminating the whole loop here, because it will cause
parameters that should be removed to not be removed, since we are
terminating early. In this specific case, `param2` is processed before
`param1` due to the reversing of `route.parts`, and since `param2` fails
the check on this line, it would previously cause the whole loop to
fail, and `param1` would still be in `parameterized_parts`. Now, we are
simply calling `next`, which is the intended behavior.
Introduced by
|
||
---|---|---|
.. | ||
gtg | ||
nfa | ||
nodes | ||
path | ||
router | ||
visualizer | ||
formatter.rb | ||
parser.rb | ||
parser.y | ||
parser_extras.rb | ||
route.rb | ||
router.rb | ||
routes.rb | ||
scanner.rb | ||
visitors.rb |