We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 600f5ae commit fcccd7aCopy full SHA for fcccd7a
routing.rst
@@ -80,12 +80,12 @@ like ``/blog/my-post`` or ``/blog/all-about-symfony``:
80
xsi:schemaLocation="http://symfony.com/schema/routing
81
http://symfony.com/schema/routing/routing-1.0.xsd">
82
83
- <route id="blog_list" path="/blog">
84
- <controller>App\Controller\BlogController::list</controller>
+ <route id="blog_list" controller="App\Controller\BlogController::list" path="/blog" >
+ <!-- settings -->
85
</route>
86
87
- <route id="blog_show" path="/blog/{slug}">
88
- <controller>App\Controller\BlogController::show</controller>
+ <route id="blog_show" controller="App\Controller\BlogController::show" path="/blog/{slug}">
89
90
</routes>
91
0 commit comments