mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 08:03:49 +00:00
send rendering of menu to devoted controller
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace CL\Chill\PersonBundle\Controller;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
|
||||
|
||||
class DefaultController extends Controller
|
||||
{
|
||||
public function indexAction($name)
|
||||
{
|
||||
return $this->render('CLChillPersonBundle:Default:index.html.twig', array('name' => $name));
|
||||
}
|
||||
}
|
@@ -16,7 +16,7 @@ class PersonController extends Controller {
|
||||
}
|
||||
|
||||
return $this->render('CLChillPersonBundle:Person:view.html.twig',
|
||||
array("person" => $person, 'menu_composer' => $this->get('menu_composer'))
|
||||
array("person" => $person)
|
||||
);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user