/**
  * @param \MUM\BjrFreizeit\Domain\Model\Leisure $leisure
  *
  */
 public function successUpdateAction(\MUM\BjrFreizeit\Domain\Model\Leisure $leisure)
 {
     $typoScript = $this->getFullTypoScript();
     $msg = $GLOBALS['TSFE']->fe_user->getKey("ses", "leisureChange");
     $this->setFlashMessage($msg);
     $GLOBALS['TSFE']->fe_user->setKey("ses", "leisureChange", '');
     $params = array('leisure' => $leisure, 'organization' => $this->organizationRepository->findByLeisure($leisure), 'leisureImagePath' => isset($typoScript['plugin.']['tx_bjr_lend.']['settings.']['leisureImagePath']) ? $typoScript['plugin.']['tx_bjr_lend.']['settings.']['leisureImagePath'] : 'uploads/tx_bjrlend/', 'tagList' => $this->tagsRepository->findAll()->toArray(), 'targetGroupList' => $this->targetGroupRepository->findAll()->toArray(), 'countryList' => $this->countryRepository->findAll()->toArray(), 'holidayList' => $this->holidayRepository->findAll()->toArray(), 'organizationList' => $this->organizationRepository->findAll()->toArray(), 'currentPageId' => $GLOBALS['TSFE']->id);
     $this->view->assignMultiple($params);
 }
 public function extendedSearchAction()
 {
     $params = array('countryList' => $this->countryRepository->findAll(), 'locationList' => $this->getSelectLocationList(), 'organizationList' => $this->organizationRepository->findAll(), 'searchForm' => GeneralUtility::makeInstance('MUM\\BjrFreizeit\\Utility\\LeisureSearchForm'));
     $this->view->assignMultiple($params);
 }