Move AppAsset from config to assets directory
@ -1 +0,0 @@
*
@ -5,7 +5,7 @@
* @license http://www.yiiframework.com/license/
*/
namespace backend\config;
namespace backend\assets;
use yii\web\AssetBundle;
@ -1,5 +1,5 @@
<?php
use backend\config\AppAsset;
use backend\assets\AppAsset;
use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
@ -1,2 +0,0 @@
!.gitignore
namespace frontend\config;
namespace frontend\assets;
@ -3,7 +3,7 @@ use yii\helpers\Html;
use yii\widgets\Breadcrumbs;
use frontend\config\AppAsset;
use frontend\assets\AppAsset;
use frontend\widgets\Alert;
/**
namespace app\config;
namespace app\assets;
use app\config\AppAsset;
use app\assets\AppAsset;
* @var \yii\web\View $this
@ -240,7 +240,7 @@ details on how to define asset bundles in [asset manager](assets.md) section of
asset bundle, it's very straightforward:
```php
frontend\config\AppAsset::register($this);
frontend\assets\AppAsset::register($this);
```
### Layout