mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-03 23:46:12 +00:00
Correction of routing : id -> event_id
This commit is contained in:
parent
b1b258d76b
commit
ccb4d6cfb5
@ -49,7 +49,7 @@ class EventController extends Controller
|
||||
$em->persist($entity);
|
||||
$em->flush();
|
||||
|
||||
return $this->redirect($this->generateUrl('event_show', array('id' => $entity->getId())));
|
||||
return $this->redirect($this->generateUrl('event_show', array('event_id' => $entity->getId())));
|
||||
}
|
||||
|
||||
return $this->render('ChillEventBundle:Event:new.html.twig', array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user