mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
22 lines
529 B
PHP
22 lines
529 B
PHP
<?php
|
|
|
|
namespace CL\Chill\MainBundle\Controller;
|
|
|
|
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
|
|
|
|
class MenuController extends Controller
|
|
{
|
|
public function writeMenuAction($menu, $layout, $activeRouteKey = null, array $args = array() )
|
|
{
|
|
|
|
|
|
|
|
return $this->render($layout, array(
|
|
'menu_composer' => $this->get('cl_chill_main_menu_composer'),
|
|
'menu' => $menu,
|
|
'args' => $args,
|
|
'activeRouteKey' => $activeRouteKey
|
|
));
|
|
}
|
|
}
|