Skip to content

Commit 6989d0a

Browse files
committed
minor symfony#12929 [2.3] [WebProfilerBundle] replaced pattern to path attribute in routes definitions (hhamon)
This PR was merged into the 2.3 branch. Discussion ---------- [2.3] [WebProfilerBundle] replaced pattern to path attribute in routes definitions | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | ~ | License | MIT | Doc PR | ~ Commits ------- 123e054 [WebProfilerBundle] replaced pattern to path attribute in routes definitions.
2 parents a835b18 + 123e054 commit 6989d0a

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/config/routing/profiler.xml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,47 +4,47 @@
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
55
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
66

7-
<route id="_profiler_home" pattern="/">
7+
<route id="_profiler_home" path="/">
88
<default key="_controller">web_profiler.controller.profiler:homeAction</default>
99
</route>
1010

11-
<route id="_profiler_search" pattern="/search">
11+
<route id="_profiler_search" path="/search">
1212
<default key="_controller">web_profiler.controller.profiler:searchAction</default>
1313
</route>
1414

15-
<route id="_profiler_search_bar" pattern="/search_bar">
15+
<route id="_profiler_search_bar" path="/search_bar">
1616
<default key="_controller">web_profiler.controller.profiler:searchBarAction</default>
1717
</route>
1818

19-
<route id="_profiler_purge" pattern="/purge">
19+
<route id="_profiler_purge" path="/purge">
2020
<default key="_controller">web_profiler.controller.profiler:purgeAction</default>
2121
</route>
2222

23-
<route id="_profiler_info" pattern="/info/{about}">
23+
<route id="_profiler_info" path="/info/{about}">
2424
<default key="_controller">web_profiler.controller.profiler:infoAction</default>
2525
</route>
2626

27-
<route id="_profiler_phpinfo" pattern="/phpinfo">
27+
<route id="_profiler_phpinfo" path="/phpinfo">
2828
<default key="_controller">web_profiler.controller.profiler:phpinfoAction</default>
2929
</route>
3030

31-
<route id="_profiler_search_results" pattern="/{token}/search/results">
31+
<route id="_profiler_search_results" path="/{token}/search/results">
3232
<default key="_controller">web_profiler.controller.profiler:searchResultsAction</default>
3333
</route>
3434

35-
<route id="_profiler" pattern="/{token}">
35+
<route id="_profiler" path="/{token}">
3636
<default key="_controller">web_profiler.controller.profiler:panelAction</default>
3737
</route>
3838

39-
<route id="_profiler_router" pattern="/{token}/router">
39+
<route id="_profiler_router" path="/{token}/router">
4040
<default key="_controller">web_profiler.controller.router:panelAction</default>
4141
</route>
4242

43-
<route id="_profiler_exception" pattern="/{token}/exception">
43+
<route id="_profiler_exception" path="/{token}/exception">
4444
<default key="_controller">web_profiler.controller.exception:showAction</default>
4545
</route>
4646

47-
<route id="_profiler_exception_css" pattern="/{token}/exception.css">
47+
<route id="_profiler_exception_css" path="/{token}/exception.css">
4848
<default key="_controller">web_profiler.controller.exception:cssAction</default>
4949
</route>
5050

src/Symfony/Bundle/WebProfilerBundle/Resources/config/routing/wdt.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
55
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
66

7-
<route id="_wdt" pattern="/{token}">
7+
<route id="_wdt" path="/{token}">
88
<default key="_controller">web_profiler.controller.profiler:toolbarAction</default>
99
</route>
1010
</routes>

0 commit comments

Comments
 (0)