Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 52cd29b

Browse filesBrowse 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
Copy full SHA for 52cd29b

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎book/templating.rst

Copy file name to clipboardExpand all lines: book/templating.rst
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.