added AffectationController IncidentController RepresentationController
This commit is contained in:
parent
340bab7c53
commit
b303052d98
18
src/Controller/AffectationController.php
Normal file
18
src/Controller/AffectationController.php
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Controller;
|
||||||
|
|
||||||
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||||
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
|
use Symfony\Component\Routing\Attribute\Route;
|
||||||
|
|
||||||
|
class AffectationController extends AbstractController
|
||||||
|
{
|
||||||
|
#[Route('/affectation', name: 'app_affectation')]
|
||||||
|
public function index(): Response
|
||||||
|
{
|
||||||
|
return $this->render('affectation/index.html.twig', [
|
||||||
|
'controller_name' => 'AffectationController',
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
}
|
18
src/Controller/IncidentController.php
Normal file
18
src/Controller/IncidentController.php
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Controller;
|
||||||
|
|
||||||
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||||
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
|
use Symfony\Component\Routing\Attribute\Route;
|
||||||
|
|
||||||
|
class IncidentController extends AbstractController
|
||||||
|
{
|
||||||
|
#[Route('/incident', name: 'app_incident')]
|
||||||
|
public function index(): Response
|
||||||
|
{
|
||||||
|
return $this->render('incident/index.html.twig', [
|
||||||
|
'controller_name' => 'IncidentController',
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
}
|
18
src/Controller/RepresentationController.php
Normal file
18
src/Controller/RepresentationController.php
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Controller;
|
||||||
|
|
||||||
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||||
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
|
use Symfony\Component\Routing\Attribute\Route;
|
||||||
|
|
||||||
|
class RepresentationController extends AbstractController
|
||||||
|
{
|
||||||
|
#[Route('/representation', name: 'app_representation')]
|
||||||
|
public function index(): Response
|
||||||
|
{
|
||||||
|
return $this->render('representation/index.html.twig', [
|
||||||
|
'controller_name' => 'RepresentationController',
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user