reditect laravel route name in controller code example Example: laravel return redirect to named route return redirect()->route('login');