Skip to content

Commit 2b6c443

Browse files
committed
Merge pull request symfony#2189 from inanimatt/patch-1
sf2.2 note: _method override disabled by default
2 parents a479570 + 61ac029 commit 2b6c443

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cookbook/routing/method_parameters.rst

Lines changed: 5 additions & 0 deletions
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 :method:`Request::enableHttpMethodParameterOverride <Symfony\\Component\\HttpFoundation\\Request::enableHttpMethodParameterOverride>`
10+
before you 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)