diff --git a/Controller/EventController.php b/Controller/EventController.php index ec3f5a3d5..126a6b86a 100644 --- a/Controller/EventController.php +++ b/Controller/EventController.php @@ -19,21 +19,6 @@ use Symfony\Component\Form\Extension\Core\Type\HiddenType; */ class EventController extends Controller { - - /** - * Lists all Event entities. - * - */ - public function indexAction() - { - $em = $this->getDoctrine()->getManager(); - - $entities = $em->getRepository('ChillEventBundle:Event')->findAll(); - - return $this->render('ChillEventBundle:Event:index.html.twig', array( - 'entities' => $entities, - )); - } public function mostRecentIndexAction() { diff --git a/Resources/config/routing/event.yml b/Resources/config/routing/event.yml index c868cd9b7..ecbcf144f 100644 --- a/Resources/config/routing/event.yml +++ b/Resources/config/routing/event.yml @@ -1,7 +1,3 @@ -event: - path: / - defaults: { _controller: "ChillEventBundle:Event:index" } - chill_event_list_most_recent: path: most_recent defaults: { _controller: "ChillEventBundle:Event:mostRecentIndex" }