ninecompta/src/Controller/CropController.php
2024-12-06 08:09:07 +01:00

32 lines
860 B
PHP

<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Attribute\Route;
class CropController extends AbstractController
{
#[Route('/user/crop01/{endpoint}', name: 'app_user_crop01')]
public function crop01(string $endpoint): Response
{
return $this->render('crop\crop01.html.twig', [
'useheader' => false,
'usemenu' => false,
'usesidebar' => false,
'endpoint' => $endpoint,
]);
}
#[Route('/user/crop02', name: 'app_user_crop02')]
public function crop02(): Response
{
return $this->render('crop\crop01.html.twig', [
'useheader' => false,
'usemenu' => false,
'usesidebar' => false,
]);
}
}