From bf5de47a8940ae59efe8451cdd65ec93317727eb Mon Sep 17 00:00:00 2001 From: Grzegorz Balcewicz Date: Thu, 14 Jan 2016 19:18:05 +0100 Subject: [PATCH] Update templating.rst | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 3.0+ | Fixed tickets | N/A Fixed the description of using absolute_url for the asset. --- book/templating.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/templating.rst b/book/templating.rst index bb41b86ef55..08b90ff9186 100644 --- a/book/templating.rst +++ b/book/templating.rst @@ -1091,7 +1091,7 @@ If you don't give a version or pass ``null``, the default package version (from :ref:`ref-framework-assets-version`) will be used. If you pass ``false``, versioned URL will be deactivated for this asset. -If you need absolute URLs for assets, you can set the ``absolute`` argument +If you need absolute URLs for assets, you can use the ``absolute_url`` function if you are using Twig (or the third argument if you are using PHP) to ``true``: .. configuration-block::