[WebProfilerBundle] replaced yaml_dump by json_encode to make the Web Profiler independent from the YAML component

This commit is contained in:
Fabien Potencier 2012-12-16 19:07:42 +01:00
parent 1c92307e4c
commit 163564b009
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
{% for key in bag.keys|sort %}
<tr>
<th>{{ key }}</th>
<td>{{ bag.get(key)|yaml_dump }}</td>
<td>{{ bag.get(key)|json_encode }}</td>
</tr>
{% endfor %}
</tbody>

View File

@ -9,7 +9,7 @@
{% for key in data|keys|sort %}
<tr>
<th>{{ key }}</th>
<td>{{ data[key]|yaml_dump }}</td>
<td>{{ data[key]|json_encode }}</td>
</tr>
{% endfor %}
</tbody>