laravel/framework — pull request #2739 by MacWorks (2013-11-17 00:08:20+00:00)
Title: Update Redirector.php

Redirect::back() often fails for me because there's no referrer. I'd rather not make an assumption about what route to redirect to because that assumption is sometimes false. I'd like Redirect::back() to work like Redirect::intended() in that you can supply a fallback route to redirect to if referrer doesn't exist.