I have tried both the back methods but i don't know which one is better or what is the difference between them.
function foo(Request $request){
/*1st back method*/
return back();
/*2nd back method*/
return redirect()->back();
}
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire