ninecompta/src/Controller/HomeController.php

20 lines
466 B
PHP
Raw Normal View History

2024-11-18 17:07:22 +01:00
<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Attribute\Route;
class HomeController extends AbstractController
{
#[Route('/', name: 'app_home')]
public function index(): Response
{
return $this->render('home/index.html.twig', [
2024-11-22 08:47:33 +01:00
'usemenu' => true,
'usesidebar' => true,
]);
2024-11-18 17:07:22 +01:00
}
}