Skip to content

Commit

Permalink
AssetController config template adjusted.
Browse files Browse the repository at this point in the history
  • Loading branch information
klimov-paul committed Jan 21, 2014
1 parent fadc23a commit b6eba65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/guide/assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -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',
],
],
```
Expand Down
2 changes: 1 addition & 1 deletion framework/console/controllers/AssetController.php
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ public function actionTemplate($configFile)
],
// Asset bundle for compression output:
'targets' => [
'app\config\AllAsset' => [
'app\assets\AllAsset' => [
'basePath' => 'path/to/web',
'baseUrl' => '',
'js' => 'js/all-{ts}.js',
Expand Down

0 comments on commit b6eba65

Please sign in to comment.