Merge branch '4.2'
* 4.2: moved XSD to HTTPS moved XSD to HTTPS
This commit is contained in:
commit
ba953d984f
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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 https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<route id="_twig_error_test" path="/{code}.{_format}">
|
<route id="_twig_error_test" path="/{code}.{_format}">
|
||||||
<default key="_controller">twig.controller.preview_error::previewErrorPageAction</default>
|
<default key="_controller">twig.controller.preview_error::previewErrorPageAction</default>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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 https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<route id="_profiler_home" path="/">
|
<route id="_profiler_home" path="/">
|
||||||
<default key="_controller">web_profiler.controller.profiler::homeAction</default>
|
<default key="_controller">web_profiler.controller.profiler::homeAction</default>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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 https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<route id="_wdt" path="/{token}">
|
<route id="_wdt" path="/{token}">
|
||||||
<default key="_controller">web_profiler.controller.profiler::toolbarAction</default>
|
<default key="_controller">web_profiler.controller.profiler::toolbarAction</default>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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
|
xsi:schemaLocation="http://symfony.com/schema/routing
|
||||||
http://symfony.com/schema/routing/routing-1.0.xsd">
|
https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<import resource="routing.xml">
|
<import resource="routing.xml">
|
||||||
<default key="_controller">FrameworkBundle:Template:template</default>
|
<default key="_controller">FrameworkBundle:Template:template</default>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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
|
xsi:schemaLocation="http://symfony.com/schema/routing
|
||||||
http://symfony.com/schema/routing/routing-1.0.xsd">
|
https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<import resource="routing.xml" controller="FrameworkBundle:Template:template" />
|
<import resource="routing.xml" controller="FrameworkBundle:Template:template" />
|
||||||
</routes>
|
</routes>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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
|
xsi:schemaLocation="http://symfony.com/schema/routing
|
||||||
http://symfony.com/schema/routing/routing-1.0.xsd">
|
https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<import resource="routing.xml" controller="FrameworkBundle:Template:template">
|
<import resource="routing.xml" controller="FrameworkBundle:Template:template">
|
||||||
<default key="_controller">AppBundle:Blog:index</default>
|
<default key="_controller">AppBundle:Blog:index</default>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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
|
xsi:schemaLocation="http://symfony.com/schema/routing
|
||||||
http://symfony.com/schema/routing/routing-1.0.xsd">
|
https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<route id="app_blog" path="/blog" controller="AppBundle:Homepage:show">
|
<route id="app_blog" path="/blog" controller="AppBundle:Homepage:show">
|
||||||
<default key="_controller">AppBundle:Blog:index</default>
|
<default key="_controller">AppBundle:Blog:index</default>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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
|
xsi:schemaLocation="http://symfony.com/schema/routing
|
||||||
http://symfony.com/schema/routing/routing-1.0.xsd">
|
https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<route id="app_homepage" path="/" controller="AppBundle:Homepage:show" />
|
<route id="app_homepage" path="/" controller="AppBundle:Homepage:show" />
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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
|
xsi:schemaLocation="http://symfony.com/schema/routing
|
||||||
http://symfony.com/schema/routing/routing-1.0.xsd">
|
https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<route id="bar_route" path="/bar" controller="AppBundle:Bar:view" />
|
<route id="bar_route" path="/bar" controller="AppBundle:Bar:view" />
|
||||||
</routes>
|
</routes>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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
|
xsi:schemaLocation="http://symfony.com/schema/routing
|
||||||
http://symfony.com/schema/routing/routing-1.0.xsd">
|
https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<route id="baz_route" path="/baz" controller="AppBundle:Baz:view" />
|
<route id="baz_route" path="/baz" controller="AppBundle:Baz:view" />
|
||||||
</routes>
|
</routes>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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
|
xsi:schemaLocation="http://symfony.com/schema/routing
|
||||||
http://symfony.com/schema/routing/routing-1.0.xsd">
|
https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<import resource="ba?.xml" />
|
<import resource="ba?.xml" />
|
||||||
</routes>
|
</routes>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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
|
xsi:schemaLocation="http://symfony.com/schema/routing
|
||||||
http://symfony.com/schema/routing/routing-1.0.xsd">
|
https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<import resource="b?r.xml" />
|
<import resource="b?r.xml" />
|
||||||
</routes>
|
</routes>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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
|
xsi:schemaLocation="http://symfony.com/schema/routing
|
||||||
http://symfony.com/schema/routing/routing-1.0.xsd">
|
https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<import resource="../controller/routing.xml" />
|
<import resource="../controller/routing.xml" />
|
||||||
<import resource="../controller/routing.xml" prefix="/api" name-prefix="api_" />
|
<import resource="../controller/routing.xml" prefix="/api" name-prefix="api_" />
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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
|
xsi:schemaLocation="http://symfony.com/schema/routing
|
||||||
http://symfony.com/schema/routing/routing-1.0.xsd">
|
https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<import resource="../controller/routing.xml" prefix="/slash" name-prefix="a_" />
|
<import resource="../controller/routing.xml" prefix="/slash" name-prefix="a_" />
|
||||||
<import resource="../controller/routing.xml" prefix="/no-slash" name-prefix="b_" trailing-slash-on-root="false" />
|
<import resource="../controller/routing.xml" prefix="/no-slash" name-prefix="b_" trailing-slash-on-root="false" />
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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
|
xsi:schemaLocation="http://symfony.com/schema/routing
|
||||||
http://symfony.com/schema/routing/routing-1.0.xsd">
|
https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<route id="blog" path="/blog">
|
<route id="blog" path="/blog">
|
||||||
<default key="_controller">
|
<default key="_controller">
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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
|
xsi:schemaLocation="http://symfony.com/schema/routing
|
||||||
http://symfony.com/schema/routing/routing-1.0.xsd">
|
https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<route id="blog" path="/blog">
|
<route id="blog" path="/blog">
|
||||||
<default key="_controller">
|
<default key="_controller">
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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
|
xsi:schemaLocation="http://symfony.com/schema/routing
|
||||||
http://symfony.com/schema/routing/routing-1.0.xsd">
|
https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<route id="blog" path="/blog">
|
<route id="blog" path="/blog">
|
||||||
<default key="_controller">
|
<default key="_controller">
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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
|
xsi:schemaLocation="http://symfony.com/schema/routing
|
||||||
http://symfony.com/schema/routing/routing-1.0.xsd">
|
https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<route id="blog" path="/blog">
|
<route id="blog" path="/blog">
|
||||||
<default key="_controller">
|
<default key="_controller">
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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 https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<route id="localized">
|
<route id="localized">
|
||||||
<default key="_controller">MyBundle:Blog:show</default>
|
<default key="_controller">MyBundle:Blog:show</default>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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
|
xsi:schemaLocation="http://symfony.com/schema/routing
|
||||||
http://symfony.com/schema/routing/routing-1.0.xsd">
|
https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
<route id="imported" path="/suffix">
|
<route id="imported" path="/suffix">
|
||||||
<default key="_controller">MyBundle:Blog:show</default>
|
<default key="_controller">MyBundle:Blog:show</default>
|
||||||
</route>
|
</route>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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
|
xsi:schemaLocation="http://symfony.com/schema/routing
|
||||||
http://symfony.com/schema/routing/routing-1.0.xsd">
|
https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
<route id="imported">
|
<route id="imported">
|
||||||
<default key="_controller">MyBundle:Blog:show</default>
|
<default key="_controller">MyBundle:Blog:show</default>
|
||||||
<path locale="en">/suffix</path>
|
<path locale="en">/suffix</path>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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
|
xsi:schemaLocation="http://symfony.com/schema/routing
|
||||||
http://symfony.com/schema/routing/routing-1.0.xsd">
|
https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
<import resource="./imported-with-locale-but-not-localized.xml">
|
<import resource="./imported-with-locale-but-not-localized.xml">
|
||||||
<prefix locale="fr">/le-prefix</prefix>
|
<prefix locale="fr">/le-prefix</prefix>
|
||||||
<prefix locale="en">/the-prefix</prefix>
|
<prefix locale="en">/the-prefix</prefix>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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
|
xsi:schemaLocation="http://symfony.com/schema/routing
|
||||||
http://symfony.com/schema/routing/routing-1.0.xsd">
|
https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
<import resource="./imported-with-locale.xml">
|
<import resource="./imported-with-locale.xml">
|
||||||
<prefix locale="fr">/le-prefix</prefix>
|
<prefix locale="fr">/le-prefix</prefix>
|
||||||
<prefix locale="en">/the-prefix</prefix>
|
<prefix locale="en">/the-prefix</prefix>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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
|
xsi:schemaLocation="http://symfony.com/schema/routing
|
||||||
http://symfony.com/schema/routing/routing-1.0.xsd">
|
https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<route id="blog" path="/blog">
|
<route id="blog" path="/blog">
|
||||||
<default key="_controller">
|
<default key="_controller">
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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
|
xsi:schemaLocation="http://symfony.com/schema/routing
|
||||||
http://symfony.com/schema/routing/routing-1.0.xsd">
|
https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<route id="blog" path="/blog">
|
<route id="blog" path="/blog">
|
||||||
<default key="_controller">
|
<default key="_controller">
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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
|
xsi:schemaLocation="http://symfony.com/schema/routing
|
||||||
http://symfony.com/schema/routing/routing-1.0.xsd">
|
https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<route id="blog" path="/blog">
|
<route id="blog" path="/blog">
|
||||||
<default key="_controller">
|
<default key="_controller">
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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
|
xsi:schemaLocation="http://symfony.com/schema/routing
|
||||||
http://symfony.com/schema/routing/routing-1.0.xsd">
|
https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<route id="blog" path="/blog">
|
<route id="blog" path="/blog">
|
||||||
<default key="_controller">
|
<default key="_controller">
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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 https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<route path="/test"></route>
|
<route path="/test"></route>
|
||||||
</routes>
|
</routes>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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 https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<route id="myroute"></route>
|
<route id="myroute"></route>
|
||||||
</routes>
|
</routes>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<r:routes xmlns:r="http://symfony.com/schema/routing"
|
<r:routes xmlns:r="http://symfony.com/schema/routing"
|
||||||
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 https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<r:route id="blog_show" path="/blog/{slug}" host="{_locale}.example.com">
|
<r:route id="blog_show" path="/blog/{slug}" host="{_locale}.example.com">
|
||||||
<r:default key="_controller">MyBundle:Blog:show</r:default>
|
<r:default key="_controller">MyBundle:Blog:show</r:default>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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 https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<route id="blog_show" path="/blog/{slug}">
|
<route id="blog_show" path="/blog/{slug}">
|
||||||
<default key="_controller">MyBundle:Blog:show</default>
|
<default key="_controller">MyBundle:Blog:show</default>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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 https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<foo>bar</foo>
|
<foo>bar</foo>
|
||||||
</routes>
|
</routes>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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 https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<route id="blog_show" path="/blog/{slug}">
|
<route id="blog_show" path="/blog/{slug}">
|
||||||
<default key="_controller">MyBundle:Blog:show</default>
|
<default key="_controller">MyBundle:Blog:show</default>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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 https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<route id="blog_show" path="/blog/{slug}">
|
<route id="blog_show" path="/blog/{slug}">
|
||||||
<default key="foo" xsi:nil="true" />
|
<default key="foo" xsi:nil="true" />
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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
|
xsi:schemaLocation="http://symfony.com/schema/routing
|
||||||
http://symfony.com/schema/routing/routing-1.0.xsd">
|
https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<route id="blog" path="/blog">
|
<route id="blog" path="/blog">
|
||||||
<default key="_controller">
|
<default key="_controller">
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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 https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<route id="blog_show" path="/blog/{slug}" host="{locale}.example.com" methods="GET|POST put,OpTiOnS" schemes="hTTps">
|
<route id="blog_show" path="/blog/{slug}" host="{locale}.example.com" methods="GET|POST put,OpTiOnS" schemes="hTTps">
|
||||||
<default key="_controller">MyBundle:Blog:show</default>
|
<default key="_controller">MyBundle:Blog:show</default>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<routes xmlns="http://symfony.com/schema/routing"
|
<routes xmlns="http://symfony.com/schema/routing"
|
||||||
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 https://symfony.com/schema/routing/routing-1.0.xsd">
|
||||||
|
|
||||||
<import resource="validpattern.xml" prefix="/{foo}" host="">
|
<import resource="validpattern.xml" prefix="/{foo}" host="">
|
||||||
<default key="foo">123</default>
|
<default key="foo">123</default>
|
||||||
|
Reference in New Issue
Block a user