From e65f78ab31b3054da9f5c58babb0e35cf4a4f6e8 Mon Sep 17 00:00:00 2001 From: Marc Ducobu Date: Sat, 4 Jul 2015 20:38:13 +0200 Subject: [PATCH] Debug : enable creation of an acitivy --- Controller/ActivityController.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/Controller/ActivityController.php b/Controller/ActivityController.php index 3e0c9e696..18613b5f9 100644 --- a/Controller/ActivityController.php +++ b/Controller/ActivityController.php @@ -138,8 +138,6 @@ class ActivityController extends Controller $entity->setPerson($person); $entity->setDate(new \DateTime('now')); - $this->denyAccessUnlessGranted('CHILL_ACTIVITY_CREATE', $entity); - $form = $this->createCreateForm($entity, $person); return $this->render('ChillActivityBundle:Activity:new.html.twig', array(