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();
}
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2azvlac
via IFTTT
Aucun commentaire:
Enregistrer un commentaire