Commit 696c423
committed
minor #15282 Recommend using root
This PR was merged into the 4.4 branch.
Discussion
----------
Recommend using root `controller` attribute in route definition
Also, it is consistent with the example above:
```
# config/routes.yaml
hello:
path: /hello
controller: App\Controller\HelloController::index
methods: GET
```
Checked on Symfony 5.2.6
Commits
-------
1a7717a Recommend using root `controller` attribute in route definitioncontroller attribute in route definition (andrew-demb)1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
0 commit comments