28 lines
547 B
PHP
28 lines
547 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Controller\Dashboard;
|
||
|
|
||
|
use Symfony\Component\HttpFoundation\Response;
|
||
|
use Symfony\Component\Routing\Annotation\Route;
|
||
|
use App\Controller\Admin\AdminController;
|
||
|
|
||
|
/**
|
||
|
* @Route("/admin")
|
||
|
*/
|
||
|
class DashboardAdminController extends AdminController
|
||
|
{
|
||
|
/**
|
||
|
* @Route("/", name="admin_dashboard_index")
|
||
|
*/
|
||
|
public function index(): Response
|
||
|
{
|
||
|
return $this->render('dashboard/admin/index.html.twig', [
|
||
|
]);
|
||
|
}
|
||
|
|
||
|
protected function getSection(): string
|
||
|
{
|
||
|
return 'dashboard';
|
||
|
}
|
||
|
}
|