8000 [WebProfilerBundle] Re add missing link to the controller · symfony/symfony@82556e7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 82556e7

Browse files
committed
[WebProfilerBundle] Re add missing link to the controller
1 parent dd9b5eb commit 82556e7

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/request.html.twig

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{% extends '@WebProfiler/Profiler/layout.html.twig' %}
22

3-
{% block toolbar %}
4-
{% set request_handler %}
5-
{% import _self as helper %}
6-
{{ helper.set_handler(collector.controller) }}
7-
{% endset %}
3+
{% set request_handler %}
4+
{% import _self as helper %}
5+
{{ helper.set_handler(collector.controller) }}
6+
{% endset %}
87

8+
{% block toolbar %}
99
{% if collector.redirect %}
1010
{% set redirect_handler %}
1111
{% import _self as helper %}
@@ -108,6 +108,14 @@
108108
{% endblock %}
109109

110110
{% block panel %}
111+
112+
<div class="metrics">
113+
<div class="metric">
114+
<span class="value">{{ request_handler }}</span>
115+
<span class="label">Controller</span>
116+
</div>
117+
</div>
118+
111119
<div class="sf-tabs">
112120
<div class="tab">
113121
<h3 class="tab-title">Request</h3>

0 commit comments

Comments
 (0)
0