Commit b6eba658 by Paul Klimov

AssetController config template adjusted.

parent fadc23a3
......@@ -210,7 +210,7 @@ assets file like the following:
'components' => [
// ...
'assetManager' => [
'bundles' => require /path/to/myapp/config/assets_compressed.php,
'bundles' => require '/path/to/myapp/config/assets_compressed.php',
],
],
```
......
......@@ -585,7 +585,7 @@ return [
],
// Asset bundle for compression output:
'targets' => [
'app\config\AllAsset' => [
'app\assets\AllAsset' => [
'basePath' => 'path/to/web',
'baseUrl' => '',
'js' => 'js/all-{ts}.js',
......
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