2021-03-20 13:40:38 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Core\Controller\Dashboard;
|
|
|
|
|
|
|
|
use App\Core\Controller\Admin\AdminController;
|
|
|
|
use Symfony\Component\HttpFoundation\Response;
|
|
|
|
use Symfony\Component\Routing\Annotation\Route;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @Route("/admin")
|
|
|
|
*/
|
|
|
|
class DashboardAdminController extends AdminController
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @Route("/", name="admin_dashboard_index")
|
|
|
|
*/
|
|
|
|
public function index(): Response
|
|
|
|
{
|
2021-03-23 21:49:56 +01:00
|
|
|
return $this->render('@Core/dashboard/admin/index.html.twig', [
|
2021-03-20 13:40:38 +01:00
|
|
|
]);
|
|
|
|
}
|
|
|
|
|
|
|
|
protected function getSection(): string
|
|
|
|
{
|
|
|
|
return 'dashboard';
|
|
|
|
}
|
|
|
|
}
|