Skip to content

Commit 93a975c

Browse files
committed
minor #8313 Improve routing debug page (Ahmed TAILOULOUTE, javiereguiluz)
This PR was submitted for the 2.7 branch but it was merged into the 2.8 branch instead (closes #8313). Discussion ---------- Improve routing debug page Some small improvement for the routing debug doc (http://symfony.com/doc/2.7/routing/debug.html) Commits ------- 6d62d60 Fixes and simplifications 7b2d5d0 Improve routing debug page
2 parents f7a371f + 6d62d60 commit 93a975c

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

routing/debug.rst

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,16 @@ your application:
1818

1919
.. code-block:: text
2020
21-
homepage ANY /
22-
contact GET /contact
23-
contact_process POST /contact
24-
article_show ANY /articles/{_locale}/{year}/{title}.{_format}
25-
blog ANY /blog/{page}
26-
blog_show ANY /blog/{slug}
21+
------------------ -------- -------- ------ ----------------------------------------------
22+
Name Method Scheme Host Path
23+
------------------ -------- -------- ------ ----------------------------------------------
24+
homepage ANY ANY ANY /
25+
contact GET ANY ANY /contact
26+
contact_process POST ANY ANY /contact
27+
article_show ANY ANY ANY /articles/{_locale}/{year}/{title}.{_format}
28+
blog ANY ANY ANY /blog/{page}
29+
blog_show ANY ANY ANY /blog/{slug}
30+
------------------ -------- -------- ------ ----------------------------------------------
2731
2832
You can also get very specific information on a single route by including
2933
the route name after the command:

0 commit comments

Comments
 (0)