8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2d1fec0 + 72f3470 commit 3ae4a3dCopy full S 8000 HA for 3ae4a3d
components/asset.rst
@@ -215,7 +215,7 @@ that path over and over again::
215
// result: /static/images/logo.png?v1
216
217
// Base path is ignored when using absolute paths
218
- echo $package->getUrl('/logo.png');
+ echo $pathPackage->getUrl('/logo.png');
219
// result: /logo.png?v1
220
221
Request Context Aware Assets
@@ -239,7 +239,7 @@ class can take into account the context of the current request::
239
// result: /somewhere/static/images/logo.png?v1
240
241
// Both "base path" and "base url" are ignored when using absolute path for asset
242
243
244
245
Now that the request context is set, the ``PathPackage`` will prepend the
0 commit comments