rename PickSubscriptionType to PickEventType

This commit is contained in:
2019-05-02 12:16:48 +02:00
parent 8a6e7396ca
commit c2b5e0f767
3 changed files with 6 additions and 6 deletions

View File

@@ -23,7 +23,7 @@
namespace Chill\EventBundle\Controller;
use Chill\EventBundle\Entity\Participation;
use Chill\EventBundle\Form\Type\PickSubscriptionType;
use Chill\EventBundle\Form\Type\PickEventType;
use Chill\EventBundle\Security\Authorization\EventVoter;
use Chill\MainBundle\Security\Authorization\AuthorizationHelper;
use Chill\PersonBundle\Entity\Person;
@@ -434,7 +434,7 @@ class EventController extends Controller
))
;
$builder->add('event_id', PickSubscriptionType::class, array(
$builder->add('event_id', PickEventType::class, array(
'role' => new Role('CHILL_EVENT_CREATE'),
'centers' => $person->getCenter()
));