8000 minor #10811 Use absolute URLs to assets on Symfony its internal page… · symfony/symfony@8f8b20c · GitHub
[go: up one dir, main page]

Skip to content

Commit 8f8b20c

Browse files
committed
minor #10811 Use absolute URLs to assets on Symfony its internal pages. (RubenKruiswijk)
This PR was merged into the 2.5-dev branch. Discussion ---------- Use absolute URLs to assets on Symfony its internal pages. | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #7524 | License | MIT | Doc PR | Commits ------- e401533 Use absolute URLs to assets on Symfony its internal pages.
2 parents 135c174 + e401533 commit 8f8b20c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Bundle/TwigBundle/Resources/views/layout.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<meta http-equiv="Content-Type" content="text/html; charset={{ _charset }}"/>
55
<meta name="robots" content="noindex,nofollow" />
66
<title>{% block title %}{% endblock %}</title>
7-
<link href="{{ asset('bundles/framework/css/structure.css') }}" rel="stylesheet" type="text/css" media="all" />
8-
<link href="{{ asset('bundles/framework/css/body.css') }}" rel="stylesheet" type="text/css" media="all" />
7+
<link href="{{ asset('bundles/framework/css/structure.css', absolute=true) }}" rel="stylesheet" type="text/css" media="all" />
8+
<link href="{{ asset('bundles/framework/css/body.css', absolute=true) }}" rel="stylesheet" type="text/css" media="all" />
99
{% block head %}{% endblock %}
1010
</head>
1111
<body>

0 commit comments

Comments
 (0)
0