Neon Tsunami

Handy Laravel Redirect methods

September 29, 2013

Laravel Weekly uncovered some handy methods in the Laravel redirector which I hadn't seen before.

Redirect to a route named 'home'

return Redirect::home();

Redirect to the current URI

return Redirect::refresh();

A blog about Laravel & Rails, written by Dwight Watson.