mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
crudification for thirdparty
This commit is contained in:
@@ -71,7 +71,7 @@ final class ThirdPartyController extends CRUDController
|
||||
/**
|
||||
* @Route("/new", name="chill_3party_3party_new")
|
||||
*/
|
||||
public function newAction(Request $request)
|
||||
public function newActionkk(Request $request)
|
||||
{
|
||||
$this->denyAccessUnlessGranted(ThirdPartyVoter::CREATE);
|
||||
|
||||
@@ -115,7 +115,7 @@ final class ThirdPartyController extends CRUDController
|
||||
* @Route("/{thirdparty_id}/update", name="chill_3party_3party_update")
|
||||
* @ParamConverter("thirdParty", options={"id": "thirdparty_id"})
|
||||
*/
|
||||
public function updateAction(ThirdParty $thirdParty, Request $request)
|
||||
public function updateActionkk(ThirdParty $thirdParty, Request $request)
|
||||
{
|
||||
$this->denyAccessUnlessGranted(ThirdPartyVoter::CREATE);
|
||||
|
||||
|
Reference in New Issue
Block a user