admin area, configuration menu

This commit is contained in:
2021-02-05 22:49:00 +01:00
parent 31176f8bc8
commit 41444f4157
4 changed files with 25 additions and 5 deletions

View File

@@ -30,8 +30,19 @@ use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
*/
class AdminController extends AbstractController
{
/**
* @return \Symfony\Component\HttpFoundation\Response
*/
public function indexAction()
{
return $this->render('ChillEventBundle:Admin:layout.html.twig');
}
/**
* @return \Symfony\Component\HttpFoundation\RedirectResponse
*/
public function redirectToAdminIndexAction()
{
return $this->redirectToRoute('chill_main_admin_central');
}
}