瀏覽代碼

Merge pull request #3515 from Koc/patch-2

Allow using overriden layout template in empty_layout
Christian Gripp 9 年之前
父節點
當前提交
163bac2093
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Resources/views/empty_layout.html.twig

+ 2 - 2
Resources/views/empty_layout.html.twig

@@ -9,7 +9,7 @@ file that was distributed with this source code.
 
 #}
 
-{% extends 'SonataAdminBundle::standard_layout.html.twig' %}
+{% extends admin_pool.getTemplate('layout') %}
 
 {% block sonata_header %}{% endblock %}
 {% block sonata_left_side %}{% endblock %}
@@ -32,4 +32,4 @@ file that was distributed with this source code.
     {% block sonata_page_content %}
         {{ parent() }}
     {% endblock %}
-{% endblock %}
+{% endblock %}