laravel/website — pull request #10 by idhamperdameian (2014-03-19 02:38:08+00:00)
Title: Using Redirect::intended() rather then Redirect::back(). Fixed #9

If no referer has been made, Redirect::back() return empty URL, its throw message "Cannot redirect to an empty URL".

Redirect::intended() can fix it.