Learner\Http\Controllers\BaseController::redirectIntended PHP Method

redirectIntended() protected method

Redirect a logged in user to the previously intended url.
protected redirectIntended ( mixed $default = null ) : Illuminate\Http\RedirectResponse
$default mixed
return Illuminate\Http\RedirectResponse
    protected function redirectIntended($default = null)
    {
        return redirect()->intended($default);
    }