Fix prepopulated uuids

This commit is contained in:
2024-05-16 18:53:53 -04:00
parent 9e7e84a4fc
commit 3e278c27fa
2 changed files with 19 additions and 14 deletions

View File

@ -26,11 +26,9 @@ class DefaultController extends AbstractController
{
$this->denyAccessUnlessGranted('IS_AUTHENTICATED_FULLY');
$last4Notes = $emi->getRepository(Note::class)->getLast4Notes($user);
$uuid = Uuid::v4();
return $this->render('default/home.html.twig', [
'last4Notes' => $last4Notes,
'id' => $uuid,
'isAdmin' => $this->isGranted('ROLE_ADMIN'),
]);
}