diff --git a/ux.symfony.com/src/Twig/InvoiceCreator.php b/ux.symfony.com/src/Twig/InvoiceCreator.php index cbcc74910d0..d5333fbf195 100644 --- a/ux.symfony.com/src/Twig/InvoiceCreator.php +++ b/ux.symfony.com/src/Twig/InvoiceCreator.php @@ -133,7 +133,7 @@ public function saveInvoice(EntityManagerInterface $entityManager) // it's new! Let's redirect to the edit page $this->addFlash('live_demo_success', 'Invoice saved!'); - return $this->redirectToRoute('app_live_components_invoice', [ + return $this->redirectToRoute('app_demo_live_component_invoice', [ 'id' => $this->invoice->getId(), ]); }