mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 08:33:49 +00:00
Correction of routing : id -> event_id
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user