From 785e04f27b680df38b853867e6d55b381e8c2b0f Mon Sep 17 00:00:00 2001 From: Alan Doucette Date: Sun, 18 Sep 2016 14:03:40 -0400 Subject: [PATCH] Fixed routing precedence info Changed the routing precedence documentation to match proper functionality listed in the routing bundle documentation. http://symfony.com/doc/master/cmf/bundles/routing/configuration.html#routers-by-id --- tutorial/auto-routing.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorial/auto-routing.rst b/tutorial/auto-routing.rst index dc773cd7..a50f8480 100644 --- a/tutorial/auto-routing.rst +++ b/tutorial/auto-routing.rst @@ -67,7 +67,7 @@ Add the following to your application configuration: cmf_routing: chain: routers_by_id: - cmf_routing.dynamic_router: 20 + cmf_routing.dynamic_router: 200 router.default: 100 dynamic: enabled: true @@ -109,7 +109,7 @@ This will: add the dynamic router (which can retrieve routes from the database) and the default Symfony router (which retrieves routes from configuration files). The number indicates the order of precedence - the router with the - lowest number will be called first; + highest number will be called first; #. Configure the **dynamic** router which you have added to the router chain. You specify that it should use the PHPCR backend and that the *root* route can be found at ``/cms/routes``.