From e9984b033f9e6763326261929f508d691177b97a Mon Sep 17 00:00:00 2001 From: Sebastian Blum Date: Wed, 4 Mar 2015 15:59:53 +0100 Subject: [PATCH 1/2] 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 --- reference/twig_reference.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/twig_reference.rst b/reference/twig_reference.rst index 29e43ebd748..aba9e07a2a7 100644 --- a/reference/twig_reference.rst +++ b/reference/twig_reference.rst @@ -113,12 +113,12 @@ Returns a public path to ``path``, which takes into account the base path set for the package and the URL path. More information in :ref:`book-templating-assets`. For asset versioning, see :ref:`ref-framework-assets-version`. -asset_version +assets_version ~~~~~~~~~~~~~ .. code-block:: jinja - {{ asset_version(packageName) }} + {{ assets_version(packageName) }} ``packageName`` **type**: ``string`` | ``null`` **default**: ``null`` From 77333a981a7576e9b88e6baaa3a59dbff93c5648 Mon Sep 17 00:00:00 2001 From: Sebastian Blum Date: Fri, 27 Mar 2015 09:23:55 +0100 Subject: [PATCH 2/2] missing Tile added the missing Tile --- reference/twig_reference.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/twig_reference.rst b/reference/twig_reference.rst index aba9e07a2a7..1264d729165 100644 --- a/reference/twig_reference.rst +++ b/reference/twig_reference.rst @@ -114,7 +114,7 @@ for the package and the URL path. More information in :ref:`book-templating-assets`. For asset versioning, see :ref:`ref-framework-assets-version`. assets_version -~~~~~~~~~~~~~ +~~~~~~~~~~~~~~ .. code-block:: jinja