diff options
author | Joshua Peek <josh@joshpeek.com> | 2011-03-29 17:27:49 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2011-03-29 17:27:49 -0500 |
commit | a5f547cc7937fe1c75ea741b5432e89f7539cb2b (patch) | |
tree | eddf3974dcecc9928f936338174e75e2c65bbeb6 | |
parent | e646385993668a3b54c21c7f60b032cd842f3790 (diff) | |
download | rails-a5f547cc7937fe1c75ea741b5432e89f7539cb2b.tar.gz rails-a5f547cc7937fe1c75ea741b5432e89f7539cb2b.tar.bz2 rails-a5f547cc7937fe1c75ea741b5432e89f7539cb2b.zip |
Only add fingerprints if perform_caching is on
-rw-r--r-- | actionpack/lib/action_view/helpers/sprockets_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/sprockets_helper.rb b/actionpack/lib/action_view/helpers/sprockets_helper.rb index f6f4f06d6e..9fd5f6759c 100644 --- a/actionpack/lib/action_view/helpers/sprockets_helper.rb +++ b/actionpack/lib/action_view/helpers/sprockets_helper.rb @@ -48,7 +48,7 @@ module ActionView end # Fingerprint url - source = assets.path(source) + source = assets.path(source, config.perform_caching) host = compute_asset_host(source) |