mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 08:33:49 +00:00
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:
@@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user