I have a table (datatables) and I have an edit icon and I want to call a route with the parameter.
My function is currently is
function editItem(id)
{
//alert(id);
}
What I want to do is to call
UsersController@editItem
and also pass the id to the controller.
I am a little stuck!
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire