You can use
.....
return redirect()->back()->withInput()->withErrors($validator);
.....
To show errors. You can read this link more information
http://laravel.com/docs/5.0/validation#error-messages-and-views
It works, thanks!
I learned that using "withInput()" there is no need to flash the data first or store them in a session manually. Nice and short solution!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community