@@ -5,7 +5,7 @@ |
||
| 5 | 5 | use schmunk42\giiant\generators\crud\callbacks\yii\Db; |
| 6 | 6 | use schmunk42\giiant\generators\crud\callbacks\yii\Html; |
| 7 | 7 | |
| 8 | -$aceEditorField = function ($attribute, $model, $generator) { |
|
| 8 | +$aceEditorField = function($attribute, $model, $generator) { |
|
| 9 | 9 | return "\$form->field(\$model, '{$attribute}')->widget(\\trntv\\aceeditor\\AceEditor::className())"; |
| 10 | 10 | }; |
| 11 | 11 | |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @link http://www.yiiframework.com/ |
|
| 4 | - * |
|
| 5 | - * @copyright Copyright (c) 2008 Yii Software LLC |
|
| 6 | - * @license http://www.yiiframework.com/license/ |
|
| 7 | - */ |
|
| 3 | + * @link http://www.yiiframework.com/ |
|
| 4 | + * |
|
| 5 | + * @copyright Copyright (c) 2008 Yii Software LLC |
|
| 6 | + * @license http://www.yiiframework.com/license/ |
|
| 7 | + */ |
|
| 8 | 8 | namespace app\modules\backend\assets; |
| 9 | 9 | |
| 10 | 10 | use yii\helpers\FileHelper; |
@@ -23,8 +23,7 @@ |
||
| 23 | 23 | // Note: For using mounted volumes or shared folders |
| 24 | 24 | 'dirMode' => YII_ENV_PROD ? 0777 : null, |
| 25 | 25 | 'bundles' => getenv('APP_ASSET_USE_BUNDLED') ? |
| 26 | - require(__DIR__.'/assets-gen/prod.php') : |
|
| 27 | - [ |
|
| 26 | + require(__DIR__.'/assets-gen/prod.php') : [ |
|
| 28 | 27 | // Note: if your asset bundle includes bootstrap, you can disable the default asset |
| 29 | 28 | #'yii\bootstrap\BootstrapAsset' => false, |
| 30 | 29 | ], |