add a admin dashboard controller

This commit is contained in:
Simon Vieille 2022-05-13 22:42:06 +02:00
commit 6addbc7de4
Signed by: deblan
GPG key ID: 579388D585F70417
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,21 @@
<?php
namespace App\Controller;
use App\Core\Controller\Dashboard\DashboardAdminController as Controller;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
/**
* @Route("/admin")
*/
class DashboardAdminController extends Controller
{
/**
* @Route("/", name="admin_dashboard_index")
*/
public function index(): Response
{
return $this->render('admin/dashboard.html.twig');
}
}