我试图了解为什么我在使用post方法正常工作时收到了MethodNotAllowedHttpException错误
Route::resource('record/{id}/details', 'RecordDetailController');
这有效:
{{ Form::open(array('url' => '/records/' . $record->id . '/details/', 'method' => 'post')) }}
虽然:
{{ Form::open(array('url' => '/records/' . $record->id . '/details/', 'method' => 'put')) }}
正在获取MethodNotAllowedHttpException
答案 0 :(得分:1)