mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
migration changed, further attempts to fix bug
This commit is contained in:
@@ -10,6 +10,7 @@ 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
|
||||
{
|
||||
@@ -22,6 +23,12 @@ class RelationshipApiController extends ApiController
|
||||
$this->repository = $repository;
|
||||
}
|
||||
|
||||
public function createEntity(string $action, Request $request): object
|
||||
{
|
||||
$relationship = parent::createEntity($action, $request);
|
||||
return $relationship;
|
||||
}
|
||||
|
||||
/**
|
||||
* @Route("/api/1.0/relation/relationship/by-person/{person_id}.json",
|
||||
* name="chill_relation_relationship_by_person")
|
||||
|
Reference in New Issue
Block a user