mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-10-31 01:08:26 +00:00 
			
		
		
		
	admin are redirected to admin section
This commit is contained in:
		| @@ -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'); | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user