/**
  * Home action
  */
 public function homeAction()
 {
     // Extract the current date from the request parameters if available
     $coderDojoDate = GeneralUtility::_GP('tx_twcoderdojo_date');
     if (is_array($coderDojoDate) && array_key_exists('date', $coderDojoDate) && intval($coderDojoDate['date'])) {
         $coderDojoDate = $this->dateRepository->findByIdentifier($coderDojoDate['date']);
         // Else: Get the next available date
     } else {
         $coderDojoDate = $this->dateRepository->findNext()->getFirst();
         $this->view->assign('nextLabel', true);
     }
     $this->view->assign('nextDate', $coderDojoDate);
 }
 /**
  * action list
  *
  * @return void
  */
 public function listAction()
 {
     $this->view->assign('nextDates', $this->dateRepository->findNext());
     $this->view->assign('pastDates', $this->dateRepository->findPast());
 }