chill-bundles/Controller/DefaultController.php
2014-11-12 15:28:43 +01:00

18 lines
408 B
PHP

<?php
namespace Chill\MainBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class DefaultController extends Controller
{
public function indexAction()
{
return $this->render('ChillMainBundle::layout.html.twig');
}
public function indexWithoutLocaleAction()
{
return $this->redirect($this->generateUrl('chill_main_homepage'));
}
}