chill-bundles/Controller/MenuController.php
2013-12-07 13:28:41 +01:00

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
));
}
}