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

Commit 8377371

Browse files
committed
cleanup according to feedback
1 parent 7235d86 commit 8377371

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

bundles/routing/dynamic.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -487,9 +487,11 @@ documentation.
487487
such a collection, however this feature is disabled by default to avoid
488488
dumping large numbers of routes. You can set
489489
``cmf_routing.dynamic.route_collection_limit`` to a value bigger than 0
490-
to have the router return routes up to the limit, or ``null`` to disable
491-
limits and return all routes. Then you can for example see the dynamic
492-
routes in the ``router:debug`` command.
490+
to have the router return routes up to the limit or ``false`` to disable
491+
limits and return all routes.
492+
493+
With this option activated, tools like the ``router:debug`` command or the
494+
`FOSJsRoutingBundle`_ will also show the routes coming from the database.
493495

494496
Handling RedirectRoutes
495497
-----------------------
@@ -590,3 +592,4 @@ Read on in the chapter :doc:`customizing the dynamic router <dynamic_customize>`
590592
.. _`URL generating capabilities of Symfony2`: http://symfony.com/doc/current/book/routing.html#generating-urls
591593
.. _SonataDoctrinePHPCRAdminBundle: http://sonata-project.org/bundles/doctrine-phpcr-admin/master/doc/index.html
592594
.. _`configuring sonata admin`: http://sonata-project.org/bundles/doctrine-phpcr-admin/master/doc/reference/configuration.html
595+
.. _`FOSJsRoutingBundle`: https://github.com/FriendsOfSymfony/FOSJsRoutingBundle

reference/configuration/routing.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,9 +292,9 @@ route_collection_limit
292292
**type**: ``scalar``, **default**: ``0``
293293

294294
If this value is set to a number bigger than 0, the routes from the database
295-
are returned in the getRouteCollection. The limit serves to prevent huge route
296-
lists if you have a large database. Setting the limit to ``null`` disables the
297-
limit entirely.
295+
are returned in the ``getRouteCollection``. The limit serves to prevent huge
296+
route lists if you have a large database. Setting the limit to ``false``
297+
disables the limit entirely.
298298

299299
persistence
300300
...........

0 commit comments

Comments
 (0)