19 lines
396 B
PHP
19 lines
396 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Controller;
|
||
|
|
||
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||
|
use Symfony\Component\HttpFoundation\Response;
|
||
|
use Symfony\Component\Routing\Annotation\Route;
|
||
|
|
||
|
class AppController extends AbstractController
|
||
|
{
|
||
|
/**
|
||
|
* @Route("/", name="home")
|
||
|
*/
|
||
|
public function home(): Response
|
||
|
{
|
||
|
return $this->render('app/home.html.twig');
|
||
|
}
|
||
|
}
|