fix: avoid redirect after failing booking data validation via API
This commit is contained in:
1 parent
a7bc8429a7
commit
7fe0734dec
1 file changed
+2
-2
@@ -97,9 +97,9 @@ class EditController extends AbstractController
|
||||
}
|
||||
|
||||
$this->addFlash('success', 'Buchung erfolgreich aktualisiert');
|
||||
}
|
||||
|
||||
return $this->redirectToRoute('app_booking_edit', ['id' => $id]);
|
||||
return $this->redirectToRoute('app_booking_edit', ['id' => $id]);
|
||||
}
|
||||
}
|
||||
|
||||
return $this->render('booking/edit.html.twig', [
|
||||
|
||||
Reference in new issue
Block a user