File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed
import_with_no_trailing_slash Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 2
2
<routes xmlns =" http://symfony.com/schema/routing"
3
3
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
4
xsi : schemaLocation =" http://symfony.com/schema/routing
5
- http ://symfony.com/schema/routing/routing-1.0.xsd" >
5
+ https ://symfony.com/schema/routing/routing-1.0.xsd" >
6
6
7
7
<import resource =" ../controller/routing.xml" />
8
8
<import resource =" ../controller/routing.xml" prefix =" /api" name-prefix =" api_" />
Original file line number Diff line number Diff line change 2
2
<routes xmlns =" http://symfony.com/schema/routing"
3
3
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
4
xsi : schemaLocation =" http://symfony.com/schema/routing
5
- http ://symfony.com/schema/routing/routing-1.0.xsd" >
5
+ https ://symfony.com/schema/routing/routing-1.0.xsd" >
6
6
7
7
<import resource =" ../controller/routing.xml" prefix =" /slash" name-prefix =" a_" />
8
8
<import resource =" ../controller/routing.xml" prefix =" /no-slash" name-prefix =" b_" trailing-slash-on-root =" false" />
Original file line number Diff line number Diff line change 2
2
3
3
<routes xmlns =" http://symfony.com/schema/routing"
4
4
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
- xsi : schemaLocation =" http://symfony.com/schema/routing http ://symfony.com/schema/routing/routing-1.0.xsd" >
5
+ xsi : schemaLocation =" http://symfony.com/schema/routing https ://symfony.com/schema/routing/routing-1.0.xsd" >
6
6
7
7
<route id =" localized" >
8
8
<default key =" _controller" >MyBundle:Blog:show</default >
Original file line number Diff line number Diff line change 2
2
<routes xmlns =" http://symfony.com/schema/routing"
3
3
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
4
xsi : schemaLocation =" http://symfony.com/schema/routing
5
- http ://symfony.com/schema/routing/routing-1.0.xsd" >
5
+ https ://symfony.com/schema/routing/routing-1.0.xsd" >
6
6
<route id =" imported" path =" /suffix" >
7
7
<default key =" _controller" >MyBundle:Blog:show</default >
8
8
</route >
Original file line number Diff line number Diff line change 2
2
<routes xmlns =" http://symfony.com/schema/routing"
3
3
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
4
xsi : schemaLocation =" http://symfony.com/schema/routing
5
- http ://symfony.com/schema/routing/routing-1.0.xsd" >
5
+ https ://symfony.com/schema/routing/routing-1.0.xsd" >
6
6
<route id =" imported" >
7
7
<default key =" _controller" >MyBundle:Blog:show</default >
8
8
<path locale =" en" >/suffix</path >
Original file line number Diff line number Diff line change 2
2
<routes xmlns =" http://symfony.com/schema/routing"
3
3
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
4
xsi : schemaLocation =" http://symfony.com/schema/routing
5
- http ://symfony.com/schema/routing/routing-1.0.xsd" >
5
+ https ://symfony.com/schema/routing/routing-1.0.xsd" >
6
6
<import resource =" ./imported-with-locale-but-not-localized.xml" >
7
7
<prefix locale =" fr" >/le-prefix</prefix >
8
8
<prefix locale =" en" >/the-prefix</prefix >
Original file line number Diff line number Diff line change 2
2
<routes xmlns =" http://symfony.com/schema/routing"
3
3
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
4
xsi : schemaLocation =" http://symfony.com/schema/routing
5
- http ://symfony.com/schema/routing/routing-1.0.xsd" >
5
+ https ://symfony.com/schema/routing/routing-1.0.xsd" >
6
6
<import resource =" ./imported-with-locale.xml" >
7
7
<prefix locale =" fr" >/le-prefix</prefix >
8
8
<prefix locale =" en" >/the-prefix</prefix >
You can’t perform that action at this time.
0 commit comments