Skip to content

Commit 3fb19ce

Browse files
committed
feature #4959 Add excluded_ajax_paths new parameter in v2.6 (bocharsky-bw)
This PR was merged into the 2.6 branch. Discussion ---------- Add excluded_ajax_paths new parameter in v2.6 ``` | Q | A | ------------- | --- | Doc fix? | no | New docs? | yes | Applies to | v2.6.x ``` Based on post [New in Symfony 2.6: AJAX requests in the web debug toolbar](http://symfony.com/blog/new-in-symfony-2-6-ajax-requests-in-the-web-debug-toolbar) Commits ------- fa95eb0 Add excluded_ajax_paths new parameter in v2.6
2 parents 0f6a906 + fa95eb0 commit 3fb19ce

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

reference/configuration/web_profiler.rst

+4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,14 @@ Full default Configuration
2323
# gives you the opportunity to look at the collected data before following the redirect
2424
intercept_redirects: false
2525
26+
# Exclude AJAX requests in the web debug toolbar for specified paths
27+
excluded_ajax_paths: ^/bundles|^/_wdt
28+
2629
.. code-block:: xml
2730
2831
<web-profiler:config
2932
toolbar="false"
3033
verbose="true"
3134
intercept_redirects="false"
35+
excluded_ajax_paths="^/bundles|^/_wdt"
3236
/>

0 commit comments

Comments
 (0)