Skip to content

Commit 52cd29b

Browse files
committed
minor #6147 Update templating.rst - Asset absolute url fix (gbalcewicz)
This PR was submitted for the 3.0 branch but it was merged into the 2.7 branch instead (closes #6147). Discussion ---------- Update templating.rst - Asset absolute url fix | 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. Commits ------- bf5de47 Update templating.rst
2 parents 21b8d85 + bf5de47 commit 52cd29b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/templating.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,7 @@ If you don't give a version or pass ``null``, the default package version
10911091
(from :ref:`ref-framework-assets-version`) will be used. If you pass ``false``,
10921092
versioned URL will be deactivated for this asset.
10931093

1094-
If you need absolute URLs for assets, you can set the ``absolute`` argument
1094+
If you need absolute URLs for assets, you can use the ``absolute_url`` function
10951095
if you are using Twig (or the third argument if you are using PHP) to ``true``:
10961096

10971097
.. configuration-block::

0 commit comments

Comments
 (0)