mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
29 lines
731 B
PHP
29 lines
731 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('chill.main.menu_composer'),
|
|
'menu' => $menu,
|
|
'header_title' => $header_title,
|
|
'page_title' => $page_title,
|
|
'args' => array()
|
|
));
|
|
}
|
|
|
|
}
|