|
@@ -79,7 +79,7 @@ file that was distributed with this source code.
|
|
|
|
|
|
<ul class="nav">
|
|
|
{% block top_bar_before_nav %} {% endblock %}
|
|
|
- {% if app.security and is_granted('ROLE_SONATA_ADMIN') %}
|
|
|
+ {% if app.security.token and is_granted('ROLE_SONATA_ADMIN') %}
|
|
|
{% for group in admin_pool.dashboardgroups %}
|
|
|
<li class="dropdown">
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ group.label|trans({}, group.label_catalogue) }} <span class="caret"></span></a>
|