#42: fix bug
This commit is contained in:
parent
674adcba60
commit
311802be6b
1 changed files with 3 additions and 1 deletions
|
@ -48,6 +48,8 @@ final class MenuItemController extends AbstractController
|
||||||
$entityManager->flush();
|
$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