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

@@ -8,9 +8,7 @@ use Chill\PersonBundle\Entity\Person;
use Chill\PersonBundle\Repository\Relationships\RelationshipRepository;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Validator\Validator\ValidatorInterface;
use Symfony\Component\Routing\Annotation\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
use Symfony\Component\HttpFoundation\Request;
class RelationshipApiController extends ApiController
{
@@ -24,9 +22,6 @@ class RelationshipApiController extends ApiController
}
/**
* @Route("/api/1.0/relation/relationship/by-person/{person_id}.json",
* name="chill_relationship_by_person")
*
* @ParamConverter("person", options={"id" = "person_id"})
*/
public function getRelationshipsByPerson(Person $person)