-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[2.2] add http_method_override option to ease setup #7202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
havvg
commented
Feb 27, 2013
Q | A |
---|---|
Bug fix? | no |
New feature? | yes |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
License | MIT |
@@ -52,6 +52,7 @@ public function getConfigTreeBuilder() | |||
->end() | |||
->end() | |||
->scalarNode('secret')->end() | |||
->scalarNode('http_method_override')->defaultFalse()->end() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
->info() ?
@@ -52,6 +52,10 @@ public function getConfigTreeBuilder() | |||
->end() | |||
->end() | |||
->scalarNode('secret')->end() | |||
->scalarNode('http_method_override') | |||
->info("Set true to enable support for the '_method' request parameter to determine the intended HTTP method on POST requests.") | |||
->defaultFalse() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would set it to true
by default (as this is what is done in the Symfony Standard Edition).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed.
@fabpot IMHO this would be useful in 2.2 as well (without the last commit, leaving the default to false). |
I agree but in 2.2, just use Being strict about what goes in which release is more and more important IMO. |