Skip to content

Commit 95a79fd

Browse files
authored
Grouped assets example
When absolute path is provided in getUrl(), base path is ignored.
1 parent a2250eb commit 95a79fd

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
@@ -168,7 +168,7 @@ that path over and over again::
168168

169169
$package = new PathPackage('/static/images', new StaticVersionStrategy('v1'));
170170

171-
echo $package->getUrl('/logo.png');
171+
echo $package->getUrl('logo.png');
172172
// result: /static/images/logo.png?v1
173173

174174
Request Context Aware Assets

0 commit comments

Comments
 (0)