#42: fix bug #52

Merged
lubiana merged 1 commit from #42_vendor-menuitems-edit into main 2024-08-15 16:31:25 +00:00
Showing only changes of commit 311802be6b - Show all commits

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);
}
}