Update views according to Symfony 2.2 changes

This commit is contained in:
William DURAND 2013-01-11 19:05:53 +01:00
parent a758f32421
commit 25e9477510

View file

@ -85,12 +85,12 @@
<code>{{ query.sql|format_sql }}</code>
{% if app.request.query.has('query') and app.request.query.get('query') == i %}
<div class="SQLExplain">
{% render 'PropelBundle:Panel:explain' with {
{% render controller('PropelBundle:Panel:explain', {
'token': token,
'panel': 'propel',
'query': app.request.query.get('query'),
'connection': app.request.query.get('connection')
} %}
}) %}
</div>
{% endif %}
<div class="SQLInfo">
@ -107,5 +107,5 @@
</tbody>
</table>
{% render 'PropelBundle:Panel:configuration' %}
{% render controller('PropelBundle:Panel:configuration') %}
{% endblock %}