Commit 4c4f7bd7 by slavcodev

Move AppAsset from config to assets directory

parent 5b0886f1
......@@ -5,7 +5,7 @@
* @license http://www.yiiframework.com/license/
*/
namespace backend\config;
namespace backend\assets;
use yii\web\AssetBundle;
......
<?php
use backend\config\AppAsset;
use backend\assets\AppAsset;
use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
......
*
!.gitignore
\ No newline at end of file
......@@ -5,7 +5,7 @@
* @license http://www.yiiframework.com/license/
*/
namespace frontend\config;
namespace frontend\assets;
use yii\web\AssetBundle;
......
......@@ -3,7 +3,7 @@ use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use frontend\config\AppAsset;
use frontend\assets\AppAsset;
use frontend\widgets\Alert;
/**
......
......@@ -5,7 +5,7 @@
* @license http://www.yiiframework.com/license/
*/
namespace app\config;
namespace app\assets;
use yii\web\AssetBundle;
......
......@@ -3,7 +3,7 @@ use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
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
......
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