From dded4fb804c0b9af51b82da54b3d8764f73175a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Wed, 20 Oct 2021 20:50:27 +0200 Subject: [PATCH] rename method --- .../Controller/AccompanyingCourseApiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillPersonBundle/Controller/AccompanyingCourseApiController.php b/src/Bundle/ChillPersonBundle/Controller/AccompanyingCourseApiController.php index 306a0c88b..bce888876 100644 --- a/src/Bundle/ChillPersonBundle/Controller/AccompanyingCourseApiController.php +++ b/src/Bundle/ChillPersonBundle/Controller/AccompanyingCourseApiController.php @@ -205,7 +205,7 @@ $workflow = $this->registry->get($accompanyingPeriod); * @param AccompanyingPeriod $period * @return JsonResponse */ - public function userReferral(AccompanyingPeriod $period, string $_format = 'json'): JsonResponse + public function suggestReferrals(AccompanyingPeriod $period, string $_format = 'json'): JsonResponse { $this->denyAccessUnlessGranted(AccompanyingPeriodVoter::EDIT, $period);