#42: fix bug #52
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue