add default layout

This commit is contained in:
2013-10-23 16:00:03 +02:00
parent e68a1c8e8b
commit 000405709c
3 changed files with 28 additions and 3 deletions

View File

@@ -6,8 +6,8 @@ use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class DefaultController extends Controller
{
public function indexAction($name)
public function indexAction()
{
return $this->render('CLChillMainBundle:Default:index.html.twig', array('name' => $name));
return $this->render('CLChillMainBundle::layout.html.twig');
}
}