Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c35d25 commit 23dc884Copy full SHA for 23dc884
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/request.html.twig
@@ -40,10 +40,12 @@
40
<b>Controller method</b>
41
<span>{{ request_handler }}</span>
42
</div>
43
- <div class="sf-toolbar-info-piece">
44
- <b>Controller file</b>
45
- <span>{{ collector.controller.class }}</span>
46
- </div>
+ {% if collector.controller.class is defined %}
+ <div class="sf-toolbar-info-piece">
+ <b>Controller file</b>
+ <span>{{ collector.controller.class }}</span>
47
+ </div>
48
+ {% endif %}
49
<div class="sf-toolbar-info-piece">
50
<b>Route name</b>
51
<span>{{ collector.route|default('NONE') }}</span>
0 commit comments