Start with template

This commit is contained in:
Tim
2021-12-28 21:05:28 +01:00
parent 2aea0fe6b7
commit 487e0a487d
3 changed files with 62 additions and 15 deletions

View File

View File

@ -0,0 +1,16 @@
<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Routing\Annotation\Route;
#[Route('/test')]
class TestController extends AbstractController
{
#[Route('/1')]
public function test1()
{
return $this->render('base.html.twig');
}
}