i got error message MethodNotAllowedHttpException
in RouteCollection.php
here is service.blade.php
<form ACTION="{{ url('backend/client/updateservice' ) }}" METHOD="POST" id="form1" name="form1" >
<input type="hidden" name="_token" value="{{ csrf_token() }}">
</form>
here is route.php
Route::get('backend/client/editservice','Backend\ClientController@editservice');
Route::post('backend/client/updateservice','Backend\ClientController@updateservice');
here is ClientController.php
public function editservice()
{
$client = Client::where('ClientID','1') -> get() -> first();
return view('backend/client.service',compact('client'));
}
public function updateservice()
{
$clientUpdate = Input::all();
$client = Client::where('ClientID','1') -> get() -> first();
$client ->update($clientUpdate);
return redirect('backend/client/service');
}