From a5addaa079c507e761090f2428355732594df0f0 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Sun, 25 Jan 2015 12:58:02 -0500 Subject: [PATCH] [#4805] Adding versionadded --- reference/twig_reference.rst | 6 ++++++ 1 file changed, 6 insertions(+) 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) }}