Skip to content

Commit 44c8630

Browse files
committed
[Book][Templating] Update absolute URL asset to match 2.7
1 parent e840343 commit 44c8630

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/templating.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,7 @@ if you are using Twig (or the third argument if you are using PHP) to ``true``:
10981098

10991099
.. code-block:: html+jinja
11001100

1101-
<img src="{{ asset('images/logo.png', absolute=true) }}" alt="Symfony!" />
1101+
<img src="{{ absolute_url(asset('images/logo.png')) }}" alt="Symfony!" />
11021102

11031103
.. code-block:: html+php
11041104

0 commit comments

Comments
 (0)