mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-10-31 01:08:26 +00:00 
			
		
		
		
	Fix delete request for event status controller
This commit is contained in:
		| @@ -201,13 +201,12 @@ class StatusController extends AbstractController | ||||
|     /** | ||||
|      * Creates a form to delete a Status entity by id. | ||||
|      * | ||||
|      * @return \Symfony\Component\Form\Form The form | ||||
|      * @return \Symfony\Component\Form\FormInterface The form | ||||
|      */ | ||||
|     private function createDeleteForm(mixed $id) | ||||
|     { | ||||
|         return $this->createFormBuilder() | ||||
|             ->setAction($this->generateUrl('chill_event_admin_status_delete', ['id' => $id])) | ||||
|             ->setMethod('DELETE') | ||||
|             ->add('submit', SubmitType::class, ['label' => 'Delete']) | ||||
|             ->getForm(); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user