Skip to content

Commit 719d447

Browse files
committed
minor #8623 PathPackage and asset with absolute path (takman1)
This PR was merged into the 3.3 branch. Discussion ---------- PathPackage and asset with absolute path Use relative asset path to match expected result. Commits ------- 84e564a PathPackage and asset with absolute path
2 parents a058278 + 84e564a commit 719d447

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/asset.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ document inside a template::
335335
echo $packages->getUrl('/logo.png', 'img');
336336
// result: http://img.example.com/logo.png?v1
337337

338-
echo $packages->getUrl('/resume.pdf', 'doc');
338+
echo $packages->getUrl('resume.pdf', 'doc');
339339
// result: /somewhere/deep/for/documents/resume.pdf?v1
340340

341341
Learn more

0 commit comments

Comments
 (0)