laravel redirect to put route with parameter code example Example: laravel return redirect to named route return redirect()->route('login');