Skip to content

Commit

Permalink
[symfony#4805] Adding versionadded
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan authored and javiereguiluz committed Jun 22, 2015
1 parent 684b47e commit 71b8c61
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions reference/twig_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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) }}
Expand All @@ -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) }}
Expand Down

0 comments on commit 71b8c61

Please sign in to comment.