Add basic auth + draft templates

This commit is contained in:
2024-10-28 10:34:32 +01:00
parent a9ef27ccb6
commit da27b36eb4
13 changed files with 277 additions and 55 deletions

View File

@@ -11,7 +11,7 @@ class HomeController extends AbstractController
#[Route('/', name: 'app_home')]
public function index(): Response
{
return $this->render('index.html.twig', [
return $this->render('home/index.html.twig', [
'controller_name' => 'HomeController',
]);
}

View File

@@ -2,6 +2,7 @@
namespace App\Controller;
use App\Entity\User;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Attribute\Route;