Skip to content

Commit 3316026

Browse files
Alexis Lefebvrealexislefebvre
Alexis Lefebvre
authored andcommitted
Twig reference: Add links from path() and url() functions to "Linking"
1 parent 299d3b4 commit 3316026

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

reference/twig_reference.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,10 @@ Returns the relative URL (without the scheme and host) for the given route.
324324
If ``relative`` is enabled, it'll create a path relative to the current
325325
path. More information in :ref:`templating-pages`.
326326

327+
.. note::
328+
329+
More information about routing in :ref:`routing`.
330+
327331
url
328332
~~~
329333

@@ -342,6 +346,10 @@ Returns the absolute URL (with scheme and host) for the given route. If
342346
``schemeRelative`` is enabled, it'll create a scheme-relative URL. More
343347
information in :ref:`templating-pages`.
344348

349+
.. note::
350+
351+
More information about routing in :ref:`routing`.
352+
345353
absolute_url
346354
~~~~~~~~~~~~
347355

routing.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _routing:
2+
13
.. index::
24
single: Routing
35

0 commit comments

Comments
 (0)