Sending data in redirect not workingCreated 6 years ago by lckamal
I am sending form data like this:
return redirect()->back()->with('data', \Request::all());
While checking the data from view lt's not working.
Sending errors is working fine though.
even this works:
Data may very well be a reserved key in Laravel - I am not sure. If it works with
errorsand the same payload I would think you could use
oldor something too. Just not data (which is a common key in response information).