Start with template
This commit is contained in:
0
src/Controller/.gitignore
vendored
0
src/Controller/.gitignore
vendored
16
src/Controller/TestController.php
Normal file
16
src/Controller/TestController.php
Normal 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');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user