chill-bundles/Controller/MenuController.php

22 lines
522 B
PHP

<?php
namespace CL\Chill\MainBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class MenuController extends Controller
{
public function writeMenuAction($menu, $layout, $activeRouteKey, array $args = array() )
{
return $this->render($layout, array(
'menu_composer' => $this->get('cl_chill_main_menu_composer'),
'menu' => $menu,
'args' => $args,
'activeRouteKey' => $activeRouteKey
));
}
}