8000 bug #5058 Fix: assets_version instead of asset_version (sebastianblum) · symfony/symfony-docs@6ba6ffd · GitHub
[go: up one dir, main page]

Skip to content

Commit 6ba6ffd

Browse files
committed
bug #5058 Fix: assets_version instead of asset_version (sebastianblum)
This PR was submitted for the 2.6 branch but it was merged into the 2.3 branch instead (closes #5058). Discussion ---------- Fix: assets_version instead of asset_version The name of the function is assets_version, see https://github.com/symfony/symfony/blob/2.7/src/Symfony/Bundle/TwigBundle/Extension/AssetsExtension.php Commits ------- 40363c9 Fix: assets_version instead of asset_version
2 parents d43b845 + 40363c9 commit 6ba6ffd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reference/twig_reference.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,12 @@ Returns a public path to ``path``, which takes into account the base path set
116116
for the package and the URL path. More information in
117117
:ref:`book-templating-assets`.
118118

119-
asset_version
120-
~~~~~~~~~~~~~
119+
assets_version
120+
~~~~~~~~~~~~~~
121121

122122
.. code-block:: jinja
123123
124-
{{ asset_version(packageName) }}
124+
{{ assets_version(packageName) }}
125125
126126
``packageName``
127127
**type**: ``string`` | ``null`` **default**: ``null``

0 commit comments

Comments
 (0)
0