laravel/laravel — pull request #455 by kyledecot (2012-03-27 19:34:42+00:00)
Title: Adding back methods to both Redirect and URL

A lot of times I find myself doing one of the following:

Redirect::to($_SERVER['HTTP_REFERER']);
URL::to($_SERVER['HTTP_REFERER']);

So I thought it might be nice to have a `back` method in both the `URL` and `Redirect` class.