Join 25,000+ Laravel Developers and join the free Laravel Newsletter
Laravel Tutorials / updated: August 06, 2014

Redirect Back and Controller Reusability

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.

This appeared first on Laravel News

Visit Resource →

Laravel News Partners


Join the weekly newsletter and never miss out on new tips, tutorials, and more.