#42: fix bug
Some checks failed
/ ls (pull_request) Successful in 39s
/ ls (push) Failing after 36s

This commit is contained in:
Jonas 2024-08-15 18:31:10 +02:00
parent 674adcba60
commit 311802be6b
Signed by: lubiana
SSH key fingerprint: SHA256:gkqM8DUX4Blf6P52fycW8ISTd+4eAHH+Uzu9iyc8hAM

View file

@ -48,6 +48,8 @@ final class MenuItemController extends AbstractController
$entityManager->flush();
}
return $this->redirectToRoute('app_menu_item_index', [], Response::HTTP_SEE_OTHER);
return $this->redirectToRoute('app_food_vendor_show', [
'id' => $menuItem->getFoodVendor()->getId()
], Response::HTTP_SEE_OTHER);
}
}