Level 36
Route::put('/buses/{id}', 'busController@update')->name('buses.update');
hello good people , this is my update route :
Route::put('/buses/{id}', 'busController@update');
this is the top of my edit view
{!! Form::model($bus,['route'=>['buses.update',$bus->Id], 'method'=> 'PUT']) !!}
now how to get rid of this MethodNotAllowedHttpException
thanks guys :)
Route::put('/buses/{id}', 'busController@update')->name('buses.update');
Please or to participate in this conversation.