Level 55
@imranbru https://laravel.com/docs/8.x/routing#form-method-spoofing
add in your form
@method('DELETE')
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
The GET method is not supported for this route. Supported methods: DELETE.
check the controller: public function destroy(Request $request, Survey $survey) { return $survey; $survey->delete(); return redirect()->route('survey.index'); }
action: {{ route('admin.survey.delete', ['survey' => $survey->id]) }}
Please or to participate in this conversation.