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