Skip to content

Commit

Permalink
Disable Twig in the profiler menu when Twig is not used
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Jan 30, 2019
1 parent 3cfb558 commit b474081
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -31,7 +31,7 @@
{% endblock %}

{% block menu %}
<span class="label">
<span class="label {{ 0 == collector.templateCount ? 'disabled' }}">
<span class="icon">{{ include('@WebProfiler/Icon/twig.svg') }}</span>
<strong>Twig</strong>
</span>
Expand Down

0 comments on commit b474081

Please sign in to comment.