diff --git a/Controller/AdminController.php b/Controller/AdminController.php index be97d429e..3a23f2027 100644 --- a/Controller/AdminController.php +++ b/Controller/AdminController.php @@ -16,7 +16,7 @@ class AdminController extends Controller { $page_title = 'views.Main.admin.index.page_title') { - return $this->render('ChillMainBundle:Admin:index.html.twig', array( + return $this->render('ChillMainBundle:Admin:layout.html.twig', array( 'menu_composer' => $this->get('chill.main.menu_composer'), 'menu' => $menu, 'header_title' => $header_title, diff --git a/Resources/views/Admin/index.html.twig b/Resources/views/Admin/index.html.twig deleted file mode 100644 index 8382aaedb..000000000 --- a/Resources/views/Admin/index.html.twig +++ /dev/null @@ -1,13 +0,0 @@ -{% extends "ChillMainBundle::layout.html.twig" %} - -{% block title%}{{ header_title|trans }}{% endblock %} - -{% block content %} - -