mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 23:23:51 +00:00
admin: refactor templates and delete some show pages for Center, Scope, User, UserJob, PermissionsGroup
This commit is contained in:
@@ -36,7 +36,7 @@ class CenterController extends AbstractController
|
||||
$em->persist($center);
|
||||
$em->flush();
|
||||
|
||||
return $this->redirect($this->generateUrl('admin_center_show', ['id' => $center->getId()]));
|
||||
return $this->redirect($this->generateUrl('admin_center'));
|
||||
}
|
||||
|
||||
return $this->render('@ChillMain/Center/new.html.twig', [
|
||||
|
Reference in New Issue
Block a user