Isn't that supposed to be your edit page? You're in the update method, so I'm guessing that is because of a form being submitted, hence the redirect using back()
seems fine to me?
Your code seems fine return redirect()->back()->withErrors($validator)->withInput();
. Post information if you facing any issue.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community