towhid

but when i use method_fuield on this route get error

<form method="POST" action="/note/{{$show_card_note->id}}">
                    {{ method_field('PATCH') }}
MethodNotAllowedHttpException in compiled.php line 8936:
in compiled.php line 8936
at RouteCollection->methodNotAllowed(array('POST')) in compiled.php line 8932
at RouteCollection->getRouteForMethods(object(Request), array('POST')) in compiled.php line 8910
at RouteCollection->match(object(Request)) in compiled.php line 8264
at Router->findRoute(object(Request)) in compiled.php line 8212

but when i use this one with this route its work and update if i use csrf_field

Route::post('note/{show_card_note}', '[email protected]');

Return to Thread...