I am having trouble on developing laravel application when i set session from a function and loaded the view the session will shows.
Session::flash("test","ABC");
return view('layout.customer');
But when i set session and redirect it to a URL in that page session will not work. I am currently using following code.
Session::flash("test","ABC");
return redirect()->route('customer.details');
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire