mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 16:13:50 +00:00
upgrade forms to update and create person
This commit is contained in:
@@ -316,7 +316,7 @@ class PersonController extends Controller {
|
||||
$em->flush();
|
||||
|
||||
return $this->redirect($this->generateUrl('chill_person_view',
|
||||
array('id' => $person->getId())));
|
||||
array('person_id' => $person->getId())));
|
||||
} else {
|
||||
$r = new Response('this should not happen if you reviewed your submission');
|
||||
$r->setStatusCode(400);
|
||||
|
Reference in New Issue
Block a user