diff --git a/book/routing.rst b/book/routing.rst index b57ad003e2e..9ffbd210933 100644 --- a/book/routing.rst +++ b/book/routing.rst @@ -1577,7 +1577,7 @@ URL) rather than the ``path()`` function (which generates a relative URL): The ``url()`` PHP templating helper was introduced in Symfony 2.8. Prior to 2.8, you had to use the ``generate()`` helper method with ``Symfony\Component\Routing\Generator\UrlGeneratorInterface::ABSOLUTE_URL`` - passed as third argument. + passed as the third argument. .. note:: diff --git a/book/templating.rst b/book/templating.rst index 8f558e5cf40..f50085219c1 100644 --- a/book/templating.rst +++ b/book/templating.rst @@ -711,7 +711,7 @@ tags: + passed as the third argument. --> render( $view['router']->url('...'), array('renderer' => 'hinclude') @@ -1032,7 +1032,7 @@ correctly: The ``url()`` PHP templating helper was introduced in Symfony 2.8. Prior to 2.8, you had to use the ``generate()`` helper method with ``Symfony\Component\Routing\Generator\UrlGeneratorInterface::ABSOLUTE_URL`` - passed as third argument. + passed as the third argument. .. index:: single: Templating; Linking to assets