aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2011-03-29 17:27:49 -0500
committerJoshua Peek <josh@joshpeek.com>2011-03-29 17:27:49 -0500
commita5f547cc7937fe1c75ea741b5432e89f7539cb2b (patch)
treeeddf3974dcecc9928f936338174e75e2c65bbeb6 /actionpack/lib/action_view/helpers
parente646385993668a3b54c21c7f60b032cd842f3790 (diff)
downloadrails-a5f547cc7937fe1c75ea741b5432e89f7539cb2b.tar.gz
rails-a5f547cc7937fe1c75ea741b5432e89f7539cb2b.tar.bz2
rails-a5f547cc7937fe1c75ea741b5432e89f7539cb2b.zip
Only add fingerprints if perform_caching is on
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r--actionpack/lib/action_view/helpers/sprockets_helper.rb2
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)