Commit 4efc097e by Smotrov Dmitriy

Fix create object Asset Bundle with custom class in Bundle config

parent 8a029ecb
......@@ -126,8 +126,8 @@ class AssetManager extends Component
$config = $this->bundles[$name];
if (!isset($config['class'])) {
$config['class'] = 'yii\\web\\AssetBundle';
$this->bundles[$name] = Yii::createObject($config);
}
$this->bundles[$name] = Yii::createObject($config);
}
return $this->bundles[$name];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment