Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit ed686da

Browse files
authored
Merge pull request #778 from dragonwize/patch-1
Fixed routing precedence info
2 parents 76bcf65 + 785e04f commit ed686da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tutorial/auto-routing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Add the following to your application configuration:
6767
cmf_routing:
6868
chain:
6969
routers_by_id:
70-
cmf_routing.dynamic_router: 20
70+
cmf_routing.dynamic_router: 200
7171
router.default: 100
7272
dynamic:
7373
enabled: true
@@ -109,7 +109,7 @@ This will:
109109
add the dynamic router (which can retrieve routes from the database) and
110110
the default Symfony router (which retrieves routes from configuration
111111
files). The number indicates the order of precedence - the router with the
112-
lowest number will be called first;
112+
highest number will be called first;
113113
#. Configure the **dynamic** router which you have added to the router chain.
114114
You specify that it should use the PHPCR backend and that the *root* route
115115
can be found at ``/cms/routes``.

0 commit comments

Comments
 (0)