protected function returnTo()
    {
        // Set in AuthShop middleware
        $return_to = Session::get('return_to');
        if ($return_to) {
            Session::forget('return_to');

            return Redirect::to($return_to);
        }

        // No return_to, go to home route
        return Redirect::route('home');
    }
protected function returnTo()
    {
        
        $return_to = Session::get('return_to');
        if ($return_to) {
            Session::forget('return_to');

            return Redirect::to($return_to);
        }

        
        return Redirect::route('home');
    }
protected function returnTo ( ) { // Set in AuthShop middleware $ return_to = Session :: get ( 'return_to' ) ; if ( $ return_to ) { Session :: forget ( 'return_to' ) ; return Redirect :: to ( $ return_to ) ; } // No return_to, go to home route return Redirect :: route ( 'home' ) ; }
Determines where to redirect after successfull auth.

@return string
Determines where to redirect after successfull auth .