Skip to content

Commit b4d7d4f

Browse files
Sarah-eitOskarStark
authored andcommitted
[Twig] [Twig Reference] fix path parameter and add example in asset v…
1 parent e17ff0c commit b4d7d4f

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)