Redirect Back and Controller Reusability
Published on by Eric L. Barnes
Ryan Tablada makes the argument that using Redirect::back() can be dangerous and should be avoided unless you know what you are expecting.
All of my apps are built for the browser and I have absolutely no worries about redirecting back after a validation failure. CSRF is used to prevent cross site POST so I feel comfortable it’s going to do what I think it is.
Eric is the creator of Laravel News and has been covering Laravel since 2012.