Skip to content

Commit f529f43

Browse files
authored
Merge pull request #71 from sensiolabs/routing-update
Re-reading the routing chapter
2 parents 7b04ffd + 9411fd3 commit f529f43

File tree

8 files changed

+287
-514
lines changed

8 files changed

+287
-514
lines changed

form/action_method.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,5 @@ to the ``form()`` or the ``form_start()`` helper functions:
5959
will insert a hidden field with the name ``_method`` that stores this method.
6060
The form will be submitted in a normal POST request, but Symfony's router
6161
is capable of detecting the ``_method`` parameter and will interpret it as
62-
a PUT, PATCH or DELETE request. Read the cookbook chapter
63-
":doc:`/routing/method_parameters`" for more information.
62+
a PUT, PATCH or DELETE request. See the :ref:`configuration-framework-http_method_override`
63+
option.

redirection_map

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
/cookbook/routing/debug /routing/debug
170170
/cookbook/routing/external_resources /routing/external_resources
171171
/cookbook/routing/extra_information /routing/extra_information
172-
/cookbook/routing/method_parameters /routing/method_parameters
172+
/cookbook/routing/method_parameters /routing/requirements
173173
/cookbook/routing/optional_placeholders /routing/optional_placeholders
174174
/cookbook/routing/redirect_in_config /routing/redirect_in_config
175175
/cookbook/routing/redirect_trailing_slash /routing/redirect_trailing_slash

reference/configuration/framework.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ named ``kernel.http_method_override``.
148148

149149
.. seealso::
150150

151-
For more information, see :doc:`/routing/method_parameters`.
151+
For more information, see :doc:`/form/action_method`.
152152

153153
.. caution::
154154

reference/forms/types/options/method.rst.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ is used to decide whether to process the form submission in the
2121
2222
When the method is PUT, PATCH, or DELETE, Symfony will automatically
2323
render a ``_method`` hidden field in your form. This is used to "fake"
24-
these HTTP methods, as they're not supported on standard browsers. For
25-
more information, see :doc:`/routing/method_parameters`.
24+
these HTTP methods, as they're not supported on standard browsers. This can
25+
be useful when using :ref:`method routing requirements <routing-method-requirement>`.
2626

2727
.. note::
2828

0 commit comments

Comments
 (0)