bug #16953 return ajax collector to collectors.php (NothingWeAre)

This PR was merged into the 3.0 branch.

Discussion
----------

return ajax collector to collectors.php

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | no
| Fixed tickets | #16880
| License       | MIT
| Doc PR        |

in symfony 3.0 there is no ajax collector declared. Because of that debug toolbar do not display ajax calls

Commits
-------

8a2c757 return ajax collector to collectors.php
This commit is contained in:
Christophe Coevoet 2015-12-10 21:37:26 +01:00
commit bb1c6f60e9

View File

@ -15,6 +15,10 @@
<tag name="data_collector" template="@WebProfiler/Collector/request.html.twig" id="request" priority="335" />
</service>
<service id="data_collector.ajax" class="Symfony\Component\HttpKernel\DataCollector\AjaxDataCollector" public="false">
<tag name="data_collector" template="@WebProfiler/Collector/ajax.html.twig" id="ajax" priority="315" />
</service>
<service id="data_collector.exception" class="Symfony\Component\HttpKernel\DataCollector\ExceptionDataCollector" public="false">
<tag name="data_collector" template="@WebProfiler/Collector/exception.html.twig" id="exception" priority="305" />
</service>