diff --git a/Controller/DefaultController.php b/Controller/DefaultController.php index 52edfa046..ba44375ed 100644 --- a/Controller/DefaultController.php +++ b/Controller/DefaultController.php @@ -8,6 +8,11 @@ class DefaultController extends Controller { public function indexAction() { + if ($this->isGranted('ROLE_ADMIN')) { + + return $this->redirectToRoute('chill_main_admin_central'); + } + return $this->render('ChillMainBundle::layout.html.twig'); }