lundi 5 août 2019

How can I route using controller without adding the id in the url?

The url right now is website.com/profile/1/edit but I wanted to just only show website.com/profile

I have tried using the route web.php Route::resource('profile', 'ProfileController'); and Route::get('profile', 'ProfileController@edit');



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire