浏览代码

User the groups variable and not the admin_pool.dashboardGroups to iterate over dashboard groups

Yorkie Chadwick 13 年之前
父节点
当前提交
94c31b6e26
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Resources/views/Block/block_admin_list.html.twig

+ 1 - 1
Resources/views/Block/block_admin_list.html.twig

@@ -12,7 +12,7 @@ file that was distributed with this source code.
 {% extends 'SonataBlockBundle:Block:block_base.html.twig' %}
 
 {% block block %}
-    {% for group in admin_pool.dashboardGroups %}
+    {% for group in groups %}
         <table class="table table-bordered table-striped sonata-ba-list">
             <thead>
                 <tr>