-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
RoutingactionableClear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.buggood first issueIdeal for your first contribution! (some Symfony experience may be required)Ideal for your first contribution! (some Symfony experience may be required)hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.
Description
or maybe I don't understand something.
The text says
"Despite the fact that these two routes have identical paths (/contact), the first route will match only GET requests and the second route will match only POST requests."
but the examples (annotations,yaml,xml,php) have "/news" and "/contact" and does not match the description.
Okay here in 2.2:
http://symfony.com/doc/2.2/book/routing.html#adding-http-method-requirements
It looks like something happened when annotations were added. I'm not familiar enough with the docs and where the example code block gets pulled in from.
Metadata
Metadata
Assignees
Labels
RoutingactionableClear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.buggood first issueIdeal for your first contribution! (some Symfony experience may be required)Ideal for your first contribution! (some Symfony experience may be required)hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.