i have placed it now in top of the routes.php, but looks not to be the right place:
// save referer on first request for saving on user registration
if ( !Session::has('COME_FROM')) {
Session::put('COME_FROM', Request::server('HTTP_REFERER'));
}
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community