mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
route annotation removed
This commit is contained in:
@@ -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){
|
||||
|
Reference in New Issue
Block a user