Skip to content

Commit 69a0e9e

Browse files
committed
Fix syntax of render functions in twig template
1 parent f3020a1 commit 69a0e9e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Resources/views/Collector/propel.html.twig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@
7979
<code>{{ query.sql|format_sql }}</code>
8080
{% if app.request.query.has('query') and app.request.query.get('query') == i %}
8181
<div class="SQLExplain">
82-
{% render controller('PropelBundle:Panel:explain', {
82+
{{ render(controller('PropelBundle:Panel:explain', {
8383
'token': token,
8484
'panel': 'propel',
8585
'query': app.request.query.get('query'),
8686
'connection': app.request.query.get('connection')
87-
}) %}
87+
})) }}
8888
</div>
8989
{% endif %}
9090
<div class="SQLInfo">
@@ -101,5 +101,5 @@
101101
</tbody>
102102
</table>
103103

104-
{% render controller('PropelBundle:Panel:configuration') %}
104+
{{ render(controller('PropelBundle:Panel:configuration')) }}
105105
{% endblock %}

0 commit comments

Comments
 (0)