8000 minor #10742 [WebProfiler] Reorder the configuration options to fit t… · marcinowski/symfony-docs@e31b5b2 · GitHub
[go: up one dir, main page]

Skip to content

Commit e31b5b2

Browse files
committed
minor symfony#10742 [WebProfiler] Reorder the configuration options to fit the link order (PReimers)
This PR was submitted for the 4.2 branch but it was merged into the 4.1 branch instead (closes symfony#10742). Discussion ---------- [WebProfiler] Reorder the configuration options to fit the link order #SymfonyConHackDay Commits ------- 87acc6b Reorder the configuration options to fit the link order
2 parents a557e66 + 87acc6b commit e31b5b2

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

reference/configuration/web_profiler.rst

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,15 @@ Configuration
3636
* `intercept_redirects`_
3737
* `toolbar`_
3838

39-
toolbar
40-
~~~~~~~
39+
excluded_ajax_paths
40+
~~~~~~~~~~~~~~~~~~~
4141

42-
**type**: ``boolean`` **default**: ``false``
42+
**type**: ``string`` **default**: ``'^/((index|app(_[\w]+)?)\.php/)?_wdt'``
4343

44-
It enables and disables the toolbar entirely. Usually you set this to ``true``
45-
in the ``dev`` and ``test`` environments and to ``false`` in the ``prod``
46-
environment.
44+
When the toolbar logs Ajax requests, it matches their URLs against this regular
45+
expression. If the URL matches, the request is not displayed in the toolbar. This
46+
is useful when the application makes lots of Ajax requests or they are heavy and
47+
you want to exclude some of them.
4748

4849
.. _intercept_redirects:
4950

@@ -61,12 +62,11 @@ redirection and shows you the URL which is going to redirect to, its toolbar,
6162
and its profiler. Once you've inspected the toolbar/profiler data, you can click
6263
on the given link to perform the redirect.
6364

64-
excluded_ajax_paths
65-
~~~~~~~~~~~~~~~~~~~
65+
toolbar
66+
~~~~~~~
6667

67-
**type**: ``string`` **default**: ``'^/((index|app(_[\w]+)?)\.php/)?_wdt'``
68+
**type**: ``boolean`` **default**: ``false``
6869

69-
When the toolbar logs Ajax requests, it matches their URLs against this regular
70-
expression. If the URL matches, the request is not displayed in the toolbar. This
71-
is useful when the application makes lots of Ajax requests or they are heavy and
72-
you want to exclude some of them.
70+
It enables and disables the toolbar entirely. Usually you set this to ``true``
71+
in the ``dev`` and ``test`` environments and to ``false`` in the ``prod``
72+
environment.

0 commit comments

Comments
 (0)
0