diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2011-08-22 11:50:27 -0700 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-08-22 11:50:27 -0700 |
commit | 0b6da0c65497df4ee9d2f9313ccb9909bdc842e9 (patch) | |
tree | 8851f6064b21f98f696a32b1caa47d1d8902029b /railties/guides | |
parent | 999e7ea47d04c4fe01a195fdb8abd39b6bd38fa8 (diff) | |
parent | 18b2223b3290c4b3daa310edfc06b4d51161c312 (diff) | |
download | rails-0b6da0c65497df4ee9d2f9313ccb9909bdc842e9.tar.gz rails-0b6da0c65497df4ee9d2f9313ccb9909bdc842e9.tar.bz2 rails-0b6da0c65497df4ee9d2f9313ccb9909bdc842e9.zip |
Merge pull request #2411 from ai/debug_assets_by_config
Debug assets by config
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/asset_pipeline.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/asset_pipeline.textile b/railties/guides/source/asset_pipeline.textile index 34ab00e80d..012149c40e 100644 --- a/railties/guides/source/asset_pipeline.textile +++ b/railties/guides/source/asset_pipeline.textile @@ -224,7 +224,7 @@ If any of the files in the manifest have changed between requests, the server re h4. Debugging Assets -You can put +?debug_assets=true+ or +?debug_assets=1+ at the end of a URL and Sprockets expands the lines which load the assets. For example, if you had an +app/assets/javascripts/application.js+ file containing these lines: +You can put +?debug_assets=true+ or +?debug_assets=1+ at the end of a URL or set +config.assets.debug+ and Sprockets expands the lines which load the assets. For example, if you had an +app/assets/javascripts/application.js+ file containing these lines: <plain> //= require "projects" |