add a link into section menu

Currently, the main link in section menu redirect
to a search which display the last events

ref #10
This commit is contained in:
2016-03-24 15:19:23 +01:00
parent 372cae7008
commit 8db8c8925c
5 changed files with 34 additions and 2 deletions

View File

@@ -34,6 +34,14 @@ class EventController extends Controller
'entities' => $entities,
));
}
public function mostRecentIndexAction()
{
return $this->redirectToRoute('chill_main_search', array(
'q' => '@event'
));
}
/**
* Creates a new Event entity.
*