Skip to content

Commit 9fcc2b9

Browse files
committed
Minor tweak
1 parent 5e0c67a commit 9fcc2b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1886,7 +1886,7 @@ use the ``generateUrl()`` helper::
18861886
converted when used as extra parameters. So, if you're passing an object (e.g. an Uuid)
18871887
as value of an extra parameter, you need to explictly convert it to a string::
18881888

1889-
$this->generateUrl('blog', ['uuid' => (string) $entity->getUuid())]
1889+
$this->generateUrl('blog', ['uuid' => (string) $entity->getUuid()]);
18901890

18911891
If your controller does not extend from ``AbstractController``, you'll need to
18921892
:ref:`fetch services in your controller <controller-accessing-services>` and

0 commit comments

Comments
 (0)