Skip to content

Commit

Permalink
[Book][Templating] Update absolute URL asset to match 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
lemoinem committed Nov 20, 2015
1 parent e840343 commit 44c8630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/templating.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ if you are using Twig (or the third argument if you are using PHP) to ``true``:

.. code-block:: html+jinja

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

.. code-block:: html+php

Expand Down

0 comments on commit 44c8630

Please sign in to comment.