Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 80a70b4

Browse filesBrowse files
committed
minor symfony#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 symfony#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
Copy full SHA for 80a70b4

File tree

Expand file treeCollapse file tree

1 file changed

+8
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+8
-0
lines changed

‎reference/twig_reference.rst

Copy file name to clipboardExpand all lines: reference/twig_reference.rst
+8Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.