Reputation: 658
I use symphony § and I manage my routes in routing.yml
function,
How can I use mutliples routes for same controller function. I know I can do it with annotation but I don't manage my routes in annotation.
Upvotes: 0
Views: 901
Reputation: 6758
You can have multiple routes for the same controller in routing.yml
as in annotations.
If there are multiples routes matching the url, the firt one win, as explained in the doc.
Upvotes: 1