21 lines
488 B
PHP
21 lines
488 B
PHP
<?php
|
|
// src/Controller/HomeController.php
|
|
namespace App\Controller;
|
|
|
|
use Symfony\Component\HttpFoundation\Response;
|
|
use Symfony\Component\HttpFoundation\Request;
|
|
use Symfony\Component\Routing\Annotation\Route;
|
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
|
|
|
class HomeController extends AbstractController
|
|
{
|
|
/**
|
|
* @Route("/", name="home")
|
|
*/
|
|
public function index()
|
|
{
|
|
return $this->render('index.html.twig', [
|
|
|
|
]);
|
|
}
|
|
} |