mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
Removing IndexAction from Event controller
This commit is contained in:
parent
6776e785b2
commit
fdb2c094a6
@ -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()
|
||||
{
|
||||
|
@ -1,7 +1,3 @@
|
||||
event:
|
||||
path: /
|
||||
defaults: { _controller: "ChillEventBundle:Event:index" }
|
||||
|
||||
chill_event_list_most_recent:
|
||||
path: most_recent
|
||||
defaults: { _controller: "ChillEventBundle:Event:mostRecentIndex" }
|
||||
|
Loading…
x
Reference in New Issue
Block a user