Skip to content

Commit

Permalink
Update templating.rst
Browse files Browse the repository at this point in the history
| 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.
  • Loading branch information
Grzegorz Balcewicz authored and xabbuh committed Jan 27, 2016
1 parent 21b8d85 commit bf5de47
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 @@ -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::
Expand Down

0 comments on commit bf5de47

Please sign in to comment.