Route::post('posts/delete/{id}', 'PostController@destroy');
Error:
MethodNotAllowedHttpException in RouteCollection.php line 233
Route::post('posts/delete/{id}', 'PostController@destroy');
Error:
MethodNotAllowedHttpException in RouteCollection.php line 233
收起
Change it to this:
Route::delete('posts/delete/{id}', 'PostController@destroy');
报告相同问题?