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