added AffectationController IncidentController RepresentationController

This commit is contained in:
BESBOT Axel 2024-09-26 16:38:17 +02:00 committed by ASTIER Yann
parent e29b52cb83
commit 168ff58d15
3 changed files with 54 additions and 0 deletions

View 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',
]);
}
}

View 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',
]);
}
}

View 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',
]);
}
}