Skip to content

Commit 0a53599

Browse files
committed
bug #20467 [Twig] [Twig Reference] fix path parameter and add example in asset v… (Sarah-eit)
This PR was submitted for the 5.4 branch but it was squashed and merged into the 6.4 branch instead. Discussion ---------- [Twig] [Twig Reference] fix path parameter and add example in asset v… Fix #20465 Commits ------- b4d7d4f [Twig] [Twig Reference] fix path parameter and add example in asset v…
2 parents e17ff0c + b4d7d4f commit 0a53599

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

reference/twig_reference.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,10 @@ asset_version
130130

131131
.. code-block:: twig
132132
133-
{{ asset_version(packageName = null) }}
133+
{{ asset_version(path, packageName = null) }}
134134
135+
``path``
136+
**type**: ``string``
135137
``packageName`` *(optional)*
136138
**type**: ``string`` | ``null`` **default**: ``null``
137139

0 commit comments

Comments
 (0)