Commit 2fd8d39
committed
minor #16454 [Routing] Attributes need a routing config, too. (Basster)
This PR was merged into the 5.4 branch.
Discussion
----------
[Routing] Attributes need a routing config, too.
I came across this missing piece of information, as I created my first Symfony skeleton app since ages with a current PHP version.
If you want to use attributes, you have to define a routing config, as well, but - as I read this part of the Routing documentation, I thought, I only need this file when using annotations.
<!--
If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/releases for the list of maintained branches).
If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `6.x` for features of unreleased versions).
-->
Commits
-------
1ba8dd9 hint about creating config/routes/annotations.yaml as well, when using attributes without doctrine/annotations.1 file changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
57 | | - | |
58 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
59 | 63 | | |
60 | 64 | | |
61 | 65 | | |
| |||
1395 | 1399 | | |
1396 | 1400 | | |
1397 | 1401 | | |
1398 | | - | |
| 1402 | + | |
1399 | 1403 | | |
1400 | 1404 | | |
1401 | 1405 | | |
| |||
1515 | 1519 | | |
1516 | 1520 | | |
1517 | 1521 | | |
1518 | | - | |
| 1522 | + | |
1519 | 1523 | | |
1520 | 1524 | | |
1521 | 1525 | | |
| |||
0 commit comments