diff --git a/reference/twig_reference.rst b/reference/twig_reference.rst index d644183a600..f21414ec8b3 100644 --- a/reference/twig_reference.rst +++ b/reference/twig_reference.rst @@ -358,6 +358,9 @@ information in :ref:`book-templating-pages`. absolute_url ~~~~~~~~~~~~ +.. versionadded:: 2.6 + The ``absolute_url`` function was introduced in Symfony 2.7 + .. code-block:: jinja {{ absolute_url(path) }} @@ -375,6 +378,9 @@ an existing path: relative_path ~~~~~~~~~~~~~ +.. versionadded:: 2.6 + The ``relative_path`` function was introduced in Symfony 2.7 + .. code-block:: jinja {{ relative_path(path) }}