after person creation, redirect to general form fix #337

This commit is contained in:
Julien Fastré 2014-11-16 22:54:17 +01:00
parent b419921fe1
commit 260fc63a64

View File

@ -330,7 +330,7 @@ class PersonController extends Controller
$em->flush();
return $this->redirect($this->generateUrl('chill_person_view',
return $this->redirect($this->generateUrl('chill_person_general_edit',
array('person_id' => $person->getId())));
} else {
$r = new Response('this should not happen if you reviewed your submission');