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

Commit de0e9cf

Browse files
committed
add a note about an upcoming fosjsroutingbundle feature
1 parent e9d06d6 commit de0e9cf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bundles/routing/dynamic.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,10 @@ documentation.
493493
With this option activated, tools like the ``router:debug`` command or the
494494
`FOSJsRoutingBundle`_ will also show the routes coming from the database.
495495

496+
For the case of `FOSJsRoutingBundle`_, if you use the upcoming version 2 of
497+
the bundle, you can configure ``fos_js_routing.router`` to
498+
``router.default`` to avoid the dynamic routes being included.
499+
496500
Handling RedirectRoutes
497501
-----------------------
498502

0 commit comments

Comments
 (0)