From 3f14ad0f6984e97a382323c5d59d8f98a4a04da3 Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Fri, 4 Mar 2022 15:16:19 +0000 Subject: [PATCH] [COMPONENT][Posting][FORM] Refactor Posting form to use a form action with a separate controller and the new Form::forceRedirect --- components/Posting/Form/Posting.php | 1 + 1 file changed, 1 insertion(+) diff --git a/components/Posting/Form/Posting.php b/components/Posting/Form/Posting.php index 47a50b19ee..9940496f08 100644 --- a/components/Posting/Form/Posting.php +++ b/components/Posting/Form/Posting.php @@ -15,6 +15,7 @@ use App\Util\Common; use App\Util\Form\FormFields; use Symfony\Component\Form\Extension\Core\Type\ChoiceType; use Symfony\Component\Form\Extension\Core\Type\FileType; +use Symfony\Component\Form\Extension\Core\Type\HiddenType; use Symfony\Component\Form\Extension\Core\Type\SubmitType; use Symfony\Component\Form\Extension\Core\Type\TextareaType; use Symfony\Component\HttpFoundation\Request;