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