mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-03 21:34:59 +00:00
improve ux for admin configuration crud interface
This commit is contained in:
@@ -46,7 +46,7 @@ class EventTypeController extends AbstractController
|
||||
$em->persist($entity);
|
||||
$em->flush();
|
||||
|
||||
return $this->redirect($this->generateUrl('chill_eventtype_admin_show',
|
||||
return $this->redirect($this->generateUrl('chill_eventtype_admin',
|
||||
array('id' => $entity->getId())));
|
||||
}
|
||||
|
||||
@@ -176,7 +176,7 @@ class EventTypeController extends AbstractController
|
||||
if ($editForm->isValid()) {
|
||||
$em->flush();
|
||||
|
||||
return $this->redirect($this->generateUrl('chill_eventtype_admin_edit',
|
||||
return $this->redirect($this->generateUrl('chill_eventtype_admin',
|
||||
array('id' => $id)));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user