Commit e2bdfbb7 by Qiang Xue

Merge pull request #602 from DsXack/master

Fix create object Asset Bundle with custom class in Bundle config
parents 8a029ecb 4efc097e
......@@ -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