Permalink
Browse files

removed the need for a routing file in the profiler

  • Loading branch information...
1 parent 5884970 commit a9484e2a0a65962dc437cc961c94411868e0356a @fabpot fabpot committed with stof Jan 11, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 Resources/views/Collector/db.html.twig
@@ -41,12 +41,12 @@
{% block panel %}
{% if 'explain' == page %}
- {% render 'DoctrineBundle:Profiler:explain' with {
+ {{ render(controller('DoctrineBundle:Profiler:explain', {
'token': token,
'panel': 'db',
'connectionName': app.request.query.get('connection'),
'query': app.request.query.get('query')
- } %}
+ })) }}
{% else %}
{{ block('queries') }}
{% endif %}

0 comments on commit a9484e2

Please sign in to comment.