From 85231b9696a20e4d36d3902bd51db059b22156da Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Wed, 29 Nov 2023 13:42:40 -0500 Subject: [PATCH] [Site] Fixing out-dated route name --- ux.symfony.com/src/Twig/InvoiceCreator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(), ]); }