Skip to content

Commit

Permalink
Always show list of legacy routing hooks in profiler
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed May 10, 2020
1 parent 156ef52 commit 928de08
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core-bundle/src/Resources/views/Collector/contao.html.twig
Expand Up @@ -89,8 +89,9 @@
</div>
</div>

{% if collector.summary.legacy_routing %}
{% if collector.summary.legacy_routing or collector.legacyrouting.hooks %}
<h2>Legacy Routing</h2>
{% if collector.summary.legacy_routing %}
<div class="metrics">
<div class="metric">
<span class="value">{% if collector.legacyrouting.prepend_locale %}yes{% else %}no{% endif %}</span>
Expand All @@ -101,6 +102,7 @@
<span class="label">URL Suffix</span>
</div>
</div>
{% endif %}
{% if collector.legacyrouting.hooks %}
<table>
<thead>
Expand Down

0 comments on commit 928de08

Please sign in to comment.