mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-03 21:34:59 +00:00
rename method
This commit is contained in:
@@ -385,13 +385,13 @@ class EventController extends Controller
|
||||
));
|
||||
$this->eventDispatcher->dispatch(PrivacyEvent::PERSON_PRIVACY_EVENT, $privacyEvent);
|
||||
|
||||
$addParticipationByEventForm = $this->createAddParticipationByEventForm($person);
|
||||
$addEventParticipationByPersonForm = $this->createAddEventParticipationByPersonForm($person);
|
||||
|
||||
return $this->render('ChillEventBundle:Event:listByPerson.html.twig', array(
|
||||
'participations' => $participations,
|
||||
'person' => $person,
|
||||
'paginator' => $paginator,
|
||||
'form_add_participation_by_event' => $addParticipationByEventForm->createView()
|
||||
'form_add_event_participation_by_person' => $addEventParticipationByPersonForm->createView()
|
||||
));
|
||||
}
|
||||
|
||||
@@ -401,7 +401,7 @@ class EventController extends Controller
|
||||
* @param Person $person
|
||||
* @return \Symfony\Component\Form\FormInterface
|
||||
*/
|
||||
protected function createAddParticipationByEventForm(Person $person)
|
||||
protected function createAddEventParticipationByPersonForm(Person $person)
|
||||
{
|
||||
/* @var $builder \Symfony\Component\Form\FormBuilderInterface */
|
||||
$builder = $this
|
||||
|
Reference in New Issue
Block a user