Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add new tip to explain usage of --method option for filtering routes
  • Loading branch information
santysisi committed Mar 14, 2025
commit b04bc3a09b64d35fe47e5b74f01023c08584f3a1
4 changes: 4 additions & 0 deletions routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,10 @@ route details:
Use the ``--show-aliases`` option to show all available aliases for a given
route.

.. tip::

Use the ``--method`` option to filter routes by HTTP method. For example, to only show routes that use the ``GET`` method, add ``--method=GET``

The other command is called ``router:match`` and it shows which route will match
the given URL. It's useful to find out why some URL is not executing the
controller action that you expect:
Expand Down