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

add note that custom url generator was added in version 1.4 #727

Merged
merged 1 commit into from
Jan 2, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions bundles/routing/dynamic_customize.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ following class provides a simple solution using an ODM Repository.
$document = $this->findOneBy(array(
'name' => $name,
));

if (!$document) {
throw new RouteNotFoundException("No route found for name '$name'");
}
Expand Down Expand Up @@ -152,7 +152,10 @@ provider. See `Creating and configuring services in the container`_ for
information on creating custom services.

Using a Custom URL Generator
----------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. versionadded:: 1.4
The configuration option to specify a custom URL generator was introduced in CmfRoutingBundle 1.4.

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