Commit 6897379f authored by Mat's avatar Mat

il manquait une redirection dans le create de owner

parent 9b9bb9e7
......@@ -28,6 +28,8 @@ class OwnerController extends MasterController
$em = $this->getDoctrine()->getManager();
$em->persist($auteur);
$em->flush();
return $this->redirectToRoute('techno_owner_read');
}
return $this->render('@Techno/Owner/create.html.twig', array(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment