You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
0 commit comments