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.