public function indexAction() { //$sportList=SportDBaccess::getAllSports(); $eqList = formController::getAllEqupiments(); $locationList = LocationDBaccess::getAllLocations(); $lastId = StudentRequestDBaccess::getLastStudentID(); return $this->render('applicationStudentBundle:Default:StudentRequest.html.twig', array('lastId' => $lastId, 'eqList' => $eqList, 'locationList' => $locationList)); }