diff --git a/framework/web/Application.php b/framework/web/Application.php index 32f6479045..90f72925ca 100644 --- a/framework/web/Application.php +++ b/framework/web/Application.php @@ -103,7 +103,7 @@ class Application extends \yii\base\Application */ public function getAssets() { - return $this->getComponent('user'); + return $this->getComponent('assets'); } /**