@@ -18,15 +18,16 @@ your application:
18
18
19
19
.. code-block :: text
20
20
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}
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
+ ------------------ -------- -------- ------ ----------------------------------------------
30
31
31
32
You can also get very specific information on a single route by including
32
33
the route name after the command:
@@ -47,19 +48,3 @@ This command will print which route the URL matches.
47
48
.. code-block :: text
48
49
49
50
Route "blog_show" matches
50
-
51
- If you want to list the controller configured with each route, you can use the ``--show-controllers `` option:
52
-
53
- .. code-block :: terminal
54
-
55
- $ php app/console debug:router --show-controllers
56
-
57
- This command will print a list of *all * the configured routes in your application
58
- with a new column *Controller * which shows the controller configred for a specific route:
59
-
60
- .. code-block :: text
61
-
62
- --------------- -------- -------- ------ -------------- ---------------------
63
- Name Method Scheme Host Path Controller
64
- --------------- -------- -------- ------ -------------- ---------------------
65
- blog_show ANY ANY ANY /blog/{slug} AppBundle:Blog:show
0 commit comments