vendredi 2 décembre 2022

How can i use redirect()->route('test', $id) after create a data in Laravel?

The store function

The Route

I try to store a data to database and than i want to redirect the page with the created data ID. I use return redirect()->route('test', $id) but its not working.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire