Skip to content

Commit 9d3a9a2

Browse files
committed
sf2.2 note: _method override disabled by default
1 parent fb97719 commit 9d3a9a2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cookbook/routing/method_parameters.rst

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
How to use HTTP Methods beyond GET and POST in Routes
55
=====================================================
66

7+
.. versionadded:: 2.2
8+
This functionality is disabled by default in Symfony 2.2. To enable it,
9+
you must call ``Request::enableHttpMethodParameterOverride()`` before you
10+
handle the request.
11+
712
The HTTP method of a request is one of the requirements that can be checked
813
when seeing if it matches a route. This is introduced in the routing chapter
914
of the book ":doc:`/book/routing`" with examples using GET and POST. You can

0 commit comments

Comments
 (0)