We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ee585f commit bbaca1aCopy full SHA for bbaca1a
contributors.yml
@@ -104,6 +104,7 @@
104
- lukerSpringTree
105
- m-shojaei
106
- Manc
107
+- machour
108
- manzano78
109
- marc2332
110
- markivancho
docs/components/form.md
@@ -132,12 +132,12 @@ The method will be available on [`request.method`][requestmethod] inside the rou
132
}}
133
action={async ({ request, params }) => {
134
switch (request.method) {
135
- case "put": {
+ case "PUT": {
136
let formData = await request.formData();
137
let name = formData.get("projectName");
138
return fakeUpdateProject(name);
139
}
140
- case "delete": {
+ case "DELETE": {
141
return fakeDeleteProject(params.id);
142
143
default: {
0 commit comments