Skip to content

Commit ec53faa

Browse files
author
Erik van Wingerden
committed
Updated third param true to UrlGeneratorInterface::ABSOLUTE_URl in text Generating Absolute URLs
1 parent 8e36327 commit ec53faa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/routing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1477,7 +1477,7 @@ Generating Absolute URLs
14771477
~~~~~~~~~~~~~~~~~~~~~~~~
14781478

14791479
By default, the router will generate relative URLs (e.g. ``/blog``). From
1480-
a controller, simply pass ``true`` to the third argument of the ``generateUrl()``
1480+
a controller, simply pass ``UrlGeneratorInterface::ABSOLUTE_URL`` to the third argument of the ``generateUrl()``
14811481
method::
14821482

14831483
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;

0 commit comments

Comments
 (0)