8000 [Twig] [Twig Reference] fix path parameter and add example in asset v… by Sarah-eit · Pull Request #20467 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[Twig] [Twig Reference] fix path parameter and add example in asset v… #20467

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[Twig] [Twig Reference] fix path parameter and add example in asset v…
  • Loading branch information
Sarah-eit authored and OskarStark committed Dec 16, 2024
commit b4d7d4f608ea809e4a35d69cfab1f4f5893f1e0d
4 changes: 3 additions & 1 deletion reference/twig_reference.rst
6DC0
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,10 @@ asset_version

.. code-block:: twig
{{ asset_version(packageName = null) }}
{{ asset_version(path, packageName = null) }}
``path``
**type**: ``string``
``packageName`` *(optional)*
**type**: ``string`` | ``null`` **default**: ``null``

Expand Down
Loading
0