<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
class StaticController extends AbstractController
{
#[Route('/', name: 'front_home')]
public function index(): Response
{
return $this->render('static/index.html.twig', [
'controller_name' => 'StaticController',
]);
}
#[Route('/admin/static', name: 'app_static_admin')]
public function admin(): Response
{
return $this->render('static/admin-index.html.twig', [
'controller_name' => 'StaticController',
]);
}
#[Route('/admin/static2', name: 'app_static_admin2')]
public function admin2(): Response
{
return $this->render('static/admin-index.html.twig', [
'controller_name' => 'StaticController',
]);
}
}