Skip to content

Commit

Permalink
[#4805] Adding versionadded
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Jan 25, 2015
1 parent 8fe9069 commit a5addaa
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 @@ -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) }}
Expand All @@ -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) }}
Expand Down

0 comments on commit a5addaa

Please sign in to comment.