17 lines
425 B
PHP
17 lines
425 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Controller;
|
||
|
|
||
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||
|
use Symfony\Component\HttpFoundation\Response;
|
||
|
use Symfony\Component\Routing\Attribute\Route;
|
||
|
|
||
|
class IndexController extends AbstractController {
|
||
|
|
||
|
#[Route('/', name: 'homepage')]
|
||
|
public function indexAction(): Response
|
||
|
{
|
||
|
$result = $this->render('index/homepage.html.twig');
|
||
|
return $result;
|
||
|
}
|
||
|
}
|