Larvel错误:RouteCollection.php第233行中的MethodNotAllowedHttpException
错误: MethodNotAllowedHttpException在RouteCollection.php第233行 将其更改为:Larvel错误:RouteCollection.php第233行中的MethodNotAllowedHttpException,php,laravel,Php,Laravel,错误: MethodNotAllowedHttpException在RouteCollection.php第233行 将其更改为: Route::post('posts/delete/{id}', 'PostController@destroy'); 将其更改为: Route::post('posts/delete/{id}', 'PostController@destroy'); 这是你的方法destroy的名字吗?这是你的方法destroy的名字吗?
Route::post('posts/delete/{id}', 'PostController@destroy');
将其更改为:
Route::post('posts/delete/{id}', 'PostController@destroy');
这是你的方法destroy的名字吗?这是你的方法destroy的名字吗?