소스 검색

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>