Skip to content

Commit 80a70b4

Browse files
committed
minor #6785 Twig reference: Add links from routing functions to special routing parameters (alexislefebvre)
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #6785). Discussion ---------- Twig reference: Add links from routing functions to special routing parameters The Twig reference doesn't explain what is the `parameters` parameter. I added a link to a section that explain the *Special Routing Parameters*. Commits ------- b1b30d9 Twig reference: Add links from path() and url() functions to "Linking"
2 parents c7eb4de + b1b30d9 commit 80a70b4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

reference/twig_reference.rst

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

345+
.. seealso::
346+
347+
Read :doc:`/routing` to learn more about the Routing component.
348+
345349
url
346350
~~~
347351

@@ -360,6 +364,10 @@ Returns the absolute URL (with scheme and host) for the given route. If
360364
``schemeRelative`` is enabled, it'll create a scheme-relative URL. More
361365
information in :ref:`templating-pages`.
362366

367+
.. seealso::
368+
369+
Read :doc:`/routing` to learn more about the Routing component.
370+
363371
absolute_url
364372
~~~~~~~~~~~~
365373

0 commit comments

Comments
 (0)