One of the major benefits of using RoutingAuto over conventional Symfony routes is that the system has a clear overview about what exists and would not allow one route to replace another.
If you were using standard pattern based routing in routing.yml:
/cms/article/{slug}
and also created a Route object in the hierachy at:
/cms/article/foobar
The two "routes" can co-exist - which is not good.
One of the major benefits of using RoutingAuto over conventional Symfony routes is that the system has a clear overview about what exists and would not allow one route to replace another.
If you were using standard pattern based routing in routing.yml:
and also created a Route object in the hierachy at:
The two "routes" can co-exist - which is not good.