mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
32 lines
739 B
PHP
32 lines
739 B
PHP
<?php
|
|
|
|
namespace Chill\PersonBundle\Controller;
|
|
|
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
|
use Symfony\Component\Routing\Annotation\Route;
|
|
|
|
/**
|
|
* Class AdminController
|
|
*
|
|
* @package Chill\PersonBundle\Controller
|
|
*/
|
|
class AdminController extends AbstractController
|
|
{
|
|
/**
|
|
* @param $_locale
|
|
* @return \Symfony\Component\HttpFoundation\Response
|
|
*/
|
|
public function indexAction($_locale)
|
|
{
|
|
return $this->render('ChillPersonBundle:Admin:layout.html.twig', []);
|
|
}
|
|
|
|
/**
|
|
* @return \Symfony\Component\HttpFoundation\RedirectResponse
|
|
*/
|
|
public function redirectToAdminIndexAction()
|
|
{
|
|
return $this->redirectToRoute('chill_main_admin_central');
|
|
}
|
|
}
|