Skip to content

Commit a2f8fef

Browse files
committed
Merge branch '5.0'
* 5.0: precised output for absolute_url
2 parents abb89bc + 5525a6e commit a2f8fef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/twig_reference.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ absolute_url
237237
``path``
238238
**type**: ``string``
239239

240-
Returns the absolute URL from the passed relative path. Combine it with the
240+
Returns the absolute URL (with scheme and host) from the passed relative path. Combine it with the
241241
:ref:`asset() function <reference-twig-function-asset>` to generate absolute URLs
242242
for web assets. Read more about :ref:`Linking to CSS, JavaScript and Image Assets <templates-link-to-assets>`.
243243

0 commit comments

Comments
 (0)