mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
fix folder name
This commit is contained in:
23
src/Bundle/ChillMainBundle/Controller/MenuController.php
Normal file
23
src/Bundle/ChillMainBundle/Controller/MenuController.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace Chill\MainBundle\Controller;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||
|
||||
/**
|
||||
* Class MenuController
|
||||
*
|
||||
* @package Chill\MainBundle\Controller
|
||||
*/
|
||||
class MenuController extends AbstractController
|
||||
{
|
||||
public function writeMenuAction($menu, $layout, $activeRouteKey = null, array $args = array() )
|
||||
{
|
||||
return $this->render($layout, array(
|
||||
'menu_composer' => $this->get('chill.main.menu_composer'),
|
||||
'menu' => $menu,
|
||||
'args' => $args,
|
||||
'activeRouteKey' => $activeRouteKey
|
||||
));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user