feat: implement hx-boost for reliable loading indication
This commit is contained in:
@@ -103,7 +103,7 @@ class Step3Controller extends AbstractController
|
||||
|
||||
$this->addFlash('info', $message);
|
||||
|
||||
return $this->hxRedirect($request, $this->generateUrl('app_booking_create_step_4'));
|
||||
return $this->redirectToRoute('app_booking_create_step_4');
|
||||
}
|
||||
|
||||
// Not a fallback scenario - show validation error
|
||||
@@ -153,7 +153,7 @@ class Step3Controller extends AbstractController
|
||||
$this->addFlash('info', $inquiryResponse->message);
|
||||
}
|
||||
|
||||
return $this->hxRedirect($request, $this->generateUrl('app_booking_create_step_4'));
|
||||
return $this->redirectToRoute('app_booking_create_step_4');
|
||||
} catch (TimeoutException $e) {
|
||||
return $this->handleApiError(
|
||||
'Booking inquiry timeout',
|
||||
|
||||
Reference in New Issue
Block a user