Explorar el Código

Merge pull request #880 from ychadwick/dashboard_group_fix

Use the "groups" variable and not the "admin_pool.dashboardGroups"
Thomas hace 13 años
padre
commit
185fdc1df9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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' %}
 {% extends 'SonataBlockBundle:Block:block_base.html.twig' %}
 
 
 {% block block %}
 {% block block %}
-    {% for group in admin_pool.dashboardGroups %}
+    {% for group in groups %}
         <table class="table table-bordered table-striped sonata-ba-list">
         <table class="table table-bordered table-striped sonata-ba-list">
             <thead>
             <thead>
                 <tr>
                 <tr>