Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
b6eba658
Commit
b6eba658
authored
Jan 21, 2014
by
Paul Klimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AssetController config template adjusted.
parent
fadc23a3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
assets.md
docs/guide/assets.md
+1
-1
AssetController.php
framework/console/controllers/AssetController.php
+1
-1
No files found.
docs/guide/assets.md
View file @
b6eba658
...
@@ -210,7 +210,7 @@ assets file like the following:
...
@@ -210,7 +210,7 @@ assets file like the following:
'components'
=>
[
'components'
=>
[
// ...
// ...
'assetManager'
=>
[
'assetManager'
=>
[
'bundles'
=>
require
/
path
/
to
/
myapp
/
config
/
assets_compressed
.
php
,
'bundles'
=>
require
'/path/to/myapp/config/assets_compressed.php'
,
],
],
],
],
```
```
...
...
framework/console/controllers/AssetController.php
View file @
b6eba658
...
@@ -585,7 +585,7 @@ return [
...
@@ -585,7 +585,7 @@ return [
],
],
// Asset bundle for compression output:
// Asset bundle for compression output:
'targets' => [
'targets' => [
'app\
config
\AllAsset' => [
'app\
assets
\AllAsset' => [
'basePath' => 'path/to/web',
'basePath' => 'path/to/web',
'baseUrl' => '',
'baseUrl' => '',
'js' => 'js/all-{ts}.js',
'js' => 'js/all-{ts}.js',
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment