Skip to content

Commit 7cbcbe4

Browse files
authored
Format (#6936)
1 parent 08f85f2 commit 7cbcbe4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ Typically, the `throttle` middleware is mapped to the `Illuminate\Routing\Middle
624624
<a name="form-method-spoofing"></a>
625625
## Form Method Spoofing
626626

627-
HTML forms do not support `PUT`, `PATCH` or `DELETE` actions. So, when defining `PUT`, `PATCH` or `DELETE` routes that are called from an HTML form, you will need to add a hidden `_method` field to the form. The value sent with the `_method` field will be used as the HTTP request method:
627+
HTML forms do not support `PUT`, `PATCH`, or `DELETE` actions. So, when defining `PUT`, `PATCH`, or `DELETE` routes that are called from an HTML form, you will need to add a hidden `_method` field to the form. The value sent with the `_method` field will be used as the HTTP request method:
628628

629629
<form action="/example" method="POST">
630630
<input type="hidden" name="_method" value="PUT">

0 commit comments

Comments
 (0)