route annotation removed

This commit is contained in:
2021-10-29 13:20:56 +02:00
parent 50fbc7fd15
commit 039c74a1e4
2 changed files with 0 additions and 12 deletions

View File

@@ -21,7 +21,6 @@ use Chill\MainBundle\Entity\Scope;
use Chill\PersonBundle\Repository\AccompanyingPeriodACLAwareRepository;
use Chill\PersonBundle\Security\Authorization\AccompanyingPeriodVoter;
use Symfony\Component\Workflow\Registry;
use Symfony\Component\Routing\Annotation\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
class AccompanyingCourseApiController extends ApiController
@@ -195,12 +194,6 @@ $workflow = $this->registry->get($accompanyingPeriod);
}
/**
* @Route("/api/1.0/person/accompanying-course/by-person/{person_id}.{_format}",
* name="chill_person_accompanyingperiod_by_person",
* requirements={
* "_format"="json"
* })
*
* @ParamConverter("person", options={"id" = "person_id"})
*/
public function getAccompanyingPeriodsByPerson(Person $person){