19 lines
452 B
PHP
19 lines
452 B
PHP
<?php
|
|
|
|
namespace App\Controller;
|
|
|
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
|
use Symfony\Component\HttpFoundation\Response;
|
|
use Symfony\Component\Routing\Annotation\Route;
|
|
|
|
class VoteController extends AbstractController
|
|
{
|
|
#[Route('/vote', name: 'vote')]
|
|
public function index(): Response
|
|
{
|
|
return $this->render('vote/index.html.twig', [
|
|
'controller_name' => 'VoteController',
|
|
]);
|
|
}
|
|
}
|