Skip to content

Commit 6ed8314

Browse files
committed
docs: make a function name linkable
1 parent e9778bc commit 6ed8314

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

user_guide_src/source/incoming/routing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ Reverse routing allows you to define the controller and method, as well as any p
316316
to, and have the router lookup the current route to it. This allows route definitions to change without you having
317317
to update your application code. This is typically used within views to create links.
318318

319-
For example, if you have a route to a photo gallery that you want to link to, you can use the ``url_to()`` helper
319+
For example, if you have a route to a photo gallery that you want to link to, you can use the :php:func:`url_to()` helper
320320
function to get the route that should be used. The first parameter is the fully qualified Controller and method,
321321
separated by a double colon (``::``), much like you would use when writing the initial route itself. Any parameters that
322322
should be passed to the route are passed in next:

0 commit comments

Comments
 (0)