From 71b8c611427548b4c598f32b4edc37d2fefeb57a 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 15bf39c637f..65b866e54a3 100644 --- a/reference/twig_reference.rst +++ b/reference/twig_reference.rst @@ -361,6 +361,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) }} @@ -378,6 +381,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) }}