From ec53faa7668e682cbb42f0a63ad279af813cc734 Mon Sep 17 00:00:00 2001 From: Erik van Wingerden Date: Wed, 17 Feb 2016 12:09:44 +0100 Subject: [PATCH] Updated third param true to UrlGeneratorInterface::ABSOLUTE_URl in text Generating Absolute URLs --- book/routing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/routing.rst b/book/routing.rst index bfc8502a637..aa08421c458 100644 --- a/book/routing.rst +++ b/book/routing.rst @@ -1477,7 +1477,7 @@ Generating Absolute URLs ~~~~~~~~~~~~~~~~~~~~~~~~ By default, the router will generate relative URLs (e.g. ``/blog``). From -a controller, simply pass ``true`` to the third argument of the ``generateUrl()`` +a controller, simply pass ``UrlGeneratorInterface::ABSOLUTE_URL`` to the third argument of the ``generateUrl()`` method:: use Symfony\Component\Routing\Generator\UrlGeneratorInterface;