8000
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.
2 parents ba2e6ed + 8f16c2e commit 7ae5292Copy full SHA for 7ae5292
src/Symfony/Bundle/SecurityBundle/Resources/views/Collector/security.html.twig
@@ -317,7 +317,14 @@
317
</td>
318
<td>
319
{% if decision.attributes|length == 1 %}
320
- {{ decision.attributes|first }}
+ {% set attribute = decision.attributes|first %}
321
+ {% if attribute.expression is defined %}
322
+ Expression: <pre><code>{{ attribute.expression }}</code></pre>
323
+ {% elseif attribute.type == 'string' %}
324
+ {{ attribute }}
325
+ {% else %}
326
+ {{ profiler_dump(attribute) }}
327
+ {% endif %}
328
{% else %}
329
{{ profiler_dump(decision.attributes) }}
330
{% endif %}
0 commit comments