We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89d1b65 commit c2d42aeCopy full SHA for c2d42ae
src/Symfony/Bundle/SecurityBundle/Resources/views/Collector/security.html.twig
@@ -317,7 +317,12 @@
317
</td>
318
<td>
319
{% if decision.attributes|length == 1 %}
320
- {{ decision.attributes|first }}
+ {% set first = decision.attributes|first %}
321
+ {% if first.expression is defined %}
322
+ Expression: <code><pre>{{ first.expression }}</pre></code>
323
+ {% else %}
324
+ {{ first }}
325
+ {% endif %}
326
{% else %}
327
{{ profiler_dump(decision.attributes) }}
328
{% endif %}
0 commit comments