add test route
All checks were successful
build / build (push) Successful in 3m56s

This commit is contained in:
Constantin Simonis 2024-12-04 17:11:37 +01:00
parent 412e254eab
commit 7e758f4c12
Signed by: csimonis
GPG Key ID: 3878FF77C24AF4D2

17
src/Controller/test.php Normal file
View File

@ -0,0 +1,17 @@
<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Attribute\Route;
class test extends AbstractController
{
#[Route(path: '/test', name: 'app_test', methods: Request::METHOD_GET)]
public function test(): Response
{
return new Response('test');
}
}