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