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

Commit 84b1d9b

Browse files
committed
Merge pull request #727 from symfony-cmf/custom-generator-versionadded
add note that custom url generator was added in version 1.4
2 parents d856590 + 42267d8 commit 84b1d9b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

bundles/routing/dynamic_customize.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ following class provides a simple solution using an ODM Repository.
9191
$document = $this->findOneBy(array(
9292
'name' => $name,
9393
));
94-
94+
9595
if (!$document) {
9696
throw new RouteNotFoundException("No route found for name '$name'");
9797
}
@@ -152,7 +152,10 @@ provider. See `Creating and configuring services in the container`_ for
152152
information on creating custom services.
153153

154154
Using a Custom URL Generator
155-
----------------------------
155+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
156+
157+
.. versionadded:: 1.4
158+
The configuration option to specify a custom URL generator was introduced in CmfRoutingBundle 1.4.
156159

157160
The dynamic router can also generate URLs from route objects. If you need to
158161
customize this behavior beyond what the

0 commit comments

Comments
 (0)