mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
For integer for getting person_id in PersonController
This commit is contained in:
parent
65e6ad0fc4
commit
dbccf7ff80
@ -62,7 +62,7 @@ final class PersonController extends AbstractController
|
|||||||
/**
|
/**
|
||||||
* @\Symfony\Component\Routing\Annotation\Route(path="/{_locale}/person/{person_id}/general/edit", name="chill_person_general_edit")
|
* @\Symfony\Component\Routing\Annotation\Route(path="/{_locale}/person/{person_id}/general/edit", name="chill_person_general_edit")
|
||||||
*/
|
*/
|
||||||
public function editAction($person_id, Request $request)
|
public function editAction(int $person_id, Request $request)
|
||||||
{
|
{
|
||||||
$person = $this->_getPerson($person_id);
|
$person = $this->_getPerson($person_id);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user