chill-bundles/Controller/AdminController.php

29 lines
734 B
PHP

<?php
namespace Chill\MainBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
/**
*
*
* @author julien.fastre@champs-libres.coop
*/
class AdminController extends Controller {
public function indexAction($menu = 'admin',
$header_title = 'views.Main.admin.index.header_title',
$page_title = 'views.Main.admin.index.page_title') {
return $this->render('ChillMainBundle:Admin:index.html.twig', array(
'menu_composer' => $this->get('cl_chill_main_menu_composer'),
'menu' => $menu,
'header_title' => $header_title,
'page_title' => $page_title,
'args' => array()
));
}
}