mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-08 14:29:04 +08:00
script WIP
This commit is contained in:
@@ -28,6 +28,7 @@ class ViewContent extends Component
|
||||
* @var \yii\web\AssetManager
|
||||
*/
|
||||
public $assetManager;
|
||||
|
||||
public $assetBundles;
|
||||
public $title;
|
||||
public $metaTags;
|
||||
@@ -45,7 +46,7 @@ class ViewContent extends Component
|
||||
{
|
||||
parent::init();
|
||||
if ($this->assetManager === null) {
|
||||
$this->assetManager = Yii::$app->getAssetManager();
|
||||
$this->assetManager = Yii::$app->getAssets();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user