minor #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.
This commit is contained in:
commit
6989d0a66a
@ -4,47 +4,47 @@
|
|||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
|
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<route id="_profiler_home" pattern="/">
|
<route id="_profiler_home" path="/">
|
||||||
<default key="_controller">web_profiler.controller.profiler:homeAction</default>
|
<default key="_controller">web_profiler.controller.profiler:homeAction</default>
|
||||||
</route>
|
</route>
|
||||||
|
|
||||||
<route id="_profiler_search" pattern="/search">
|
<route id="_profiler_search" path="/search">
|
||||||
<default key="_controller">web_profiler.controller.profiler:searchAction</default>
|
<default key="_controller">web_profiler.controller.profiler:searchAction</default>
|
||||||
</route>
|
</route>
|
||||||
|
|
||||||
<route id="_profiler_search_bar" pattern="/search_bar">
|
<route id="_profiler_search_bar" path="/search_bar">
|
||||||
<default key="_controller">web_profiler.controller.profiler:searchBarAction</default>
|
<default key="_controller">web_profiler.controller.profiler:searchBarAction</default>
|
||||||
</route>
|
</route>
|
||||||
|
|
||||||
<route id="_profiler_purge" pattern="/purge">
|
<route id="_profiler_purge" path="/purge">
|
||||||
<default key="_controller">web_profiler.controller.profiler:purgeAction</default>
|
<default key="_controller">web_profiler.controller.profiler:purgeAction</default>
|
||||||
</route>
|
</route>
|
||||||
|
|
||||||
<route id="_profiler_info" pattern="/info/{about}">
|
<route id="_profiler_info" path="/info/{about}">
|
||||||
<default key="_controller">web_profiler.controller.profiler:infoAction</default>
|
<default key="_controller">web_profiler.controller.profiler:infoAction</default>
|
||||||
</route>
|
</route>
|
||||||
|
|
||||||
<route id="_profiler_phpinfo" pattern="/phpinfo">
|
<route id="_profiler_phpinfo" path="/phpinfo">
|
||||||
<default key="_controller">web_profiler.controller.profiler:phpinfoAction</default>
|
<default key="_controller">web_profiler.controller.profiler:phpinfoAction</default>
|
||||||
</route>
|
</route>
|
||||||
|
|
||||||
<route id="_profiler_search_results" pattern="/{token}/search/results">
|
<route id="_profiler_search_results" path="/{token}/search/results">
|
||||||
<default key="_controller">web_profiler.controller.profiler:searchResultsAction</default>
|
<default key="_controller">web_profiler.controller.profiler:searchResultsAction</default>
|
||||||
</route>
|
</route>
|
||||||
|
|
||||||
<route id="_profiler" pattern="/{token}">
|
<route id="_profiler" path="/{token}">
|
||||||
<default key="_controller">web_profiler.controller.profiler:panelAction</default>
|
<default key="_controller">web_profiler.controller.profiler:panelAction</default>
|
||||||
</route>
|
</route>
|
||||||
|
|
||||||
<route id="_profiler_router" pattern="/{token}/router">
|
<route id="_profiler_router" path="/{token}/router">
|
||||||
<default key="_controller">web_profiler.controller.router:panelAction</default>
|
<default key="_controller">web_profiler.controller.router:panelAction</default>
|
||||||
</route>
|
</route>
|
||||||
|
|
||||||
<route id="_profiler_exception" pattern="/{token}/exception">
|
<route id="_profiler_exception" path="/{token}/exception">
|
||||||
<default key="_controller">web_profiler.controller.exception:showAction</default>
|
<default key="_controller">web_profiler.controller.exception:showAction</default>
|
||||||
</route>
|
</route>
|
||||||
|
|
||||||
<route id="_profiler_exception_css" pattern="/{token}/exception.css">
|
<route id="_profiler_exception_css" path="/{token}/exception.css">
|
||||||
<default key="_controller">web_profiler.controller.exception:cssAction</default>
|
<default key="_controller">web_profiler.controller.exception:cssAction</default>
|
||||||
</route>
|
</route>
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
|
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<route id="_wdt" pattern="/{token}">
|
<route id="_wdt" path="/{token}">
|
||||||
<default key="_controller">web_profiler.controller.profiler:toolbarAction</default>
|
<default key="_controller">web_profiler.controller.profiler:toolbarAction</default>
|
||||||
</route>
|
</route>
|
||||||
</routes>
|
</routes>
|
||||||
|
Reference in New Issue
Block a user