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