mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
20 lines
No EOL
491 B
PHP
20 lines
No EOL
491 B
PHP
<?php
|
|
|
|
namespace App\Controller;
|
|
|
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
|
use Symfony\Component\Routing\Annotation\Route;
|
|
use Symfony\Component\HttpFoundation\Response;
|
|
use Symfony\Component\HttpFoundation\Request;
|
|
|
|
class HomeController extends AbstractController
|
|
{
|
|
#[Route(
|
|
'/{_locale}/',
|
|
name: 'home_index'
|
|
)]
|
|
public function index(Request $request): Response
|
|
{
|
|
return $this->render('default/home/index.html.twig');
|
|
}
|
|
} |