mercredi 2 octobre 2019

How to pass id in update route of resource controller?

Current code

<form action="" id="edit-sub-admin" method="POST" enctype="multipart/form-data">
</form>

Current Output

<form action="http://localhost:8000/admin/sub-admin" id="edit-sub-admin" method="POST" enctype="multipart/form-data">
</form>

Expected Output

<form action="http://localhost:8000/admin/sub-admin/1" id="edit-sub-admin" method="POST" enctype="multipart/form-data">
</form>

Can anyone help me out ?



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2nd1tc4
via IFTTT

Aucun commentaire:

Enregistrer un commentaire