Ajout Formulaire Posts + Species avec authorisation #7

Merged
hugo.pradier2 merged 11 commits from refs/pull/7/head into main 2024-06-07 18:33:34 +02:00
Showing only changes of commit 9afe77b4ed - Show all commits

View File

@@ -59,8 +59,6 @@ class PostController extends AbstractController
$form = $this->createForm(PostType::class, $post);
$form->handleRequest($request);
if ($form->isSubmitted() && $form->isValid()) {
$entityManager->flush();
if ($form->isSubmitted() && $form->isValid()) {
$entityManager->flush();