Fixed a potential issue in the request panel

This commit is contained in:
Javier Eguiluz 2015-07-09 22:41:25 +02:00
parent 7c35d25bae
commit 23dc884dcf

View File

@ -40,10 +40,12 @@
<b>Controller method</b> <b>Controller method</b>
<span>{{ request_handler }}</span> <span>{{ request_handler }}</span>
</div> </div>
<div class="sf-toolbar-info-piece"> {% if collector.controller.class is defined %}
<b>Controller file</b> <div class="sf-toolbar-info-piece">
<span>{{ collector.controller.class }}</span> <b>Controller file</b>
</div> <span>{{ collector.controller.class }}</span>
</div>
{% endif %}
<div class="sf-toolbar-info-piece"> <div class="sf-toolbar-info-piece">
<b>Route name</b> <b>Route name</b>
<span>{{ collector.route|default('NONE') }}</span> <span>{{ collector.route|default('NONE') }}</span>