mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-03 16:39:48 +08:00
script WIP
This commit is contained in:
@@ -98,7 +98,7 @@ class ViewContent extends Component
|
||||
$bundle = $this->assetManager->getBundle($name);
|
||||
if ($bundle !== null) {
|
||||
$this->assetBundles[$name] = false;
|
||||
$bundle->registerAssets($this);
|
||||
$bundle->registerAssets($this, $this->assetManager);
|
||||
$this->assetBundles[$name] = true;
|
||||
} else {
|
||||
throw new InvalidConfigException("Unknown asset bundle: $name");
|
||||
|
||||
Reference in New Issue
Block a user