mercredi 9 mai 2018

Laravel 5.5 issue arise during updating form values

In web.php under routes directory, I defined a route: Route::resource('myprofile','Administrator\MyProfileController');

In my controller, I have the update function:

public function update(Request $request, $id){
// bla bla 
}

In my blade file, I have the below code;


  // bla bla bla


After submitting the form, I see the following error;

Method [store] does not exist on [App\Http\Controllers\Administrator\MyProfileController].

Here, I do not store the form values. These are already in the db table. I just want to update the form values.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire