Permalink
Browse files

Only add fingerprints if perform_caching is on

  • Loading branch information...
josh committed Mar 29, 2011
1 parent e646385 commit a5f547cc7937fe1c75ea741b5432e89f7539cb2b
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/sprockets_helper.rb
@@ -48,7 +48,7 @@ def compute_sprockets_path(source, dir, default_ext)
end
# Fingerprint url
- source = assets.path(source)
+ source = assets.path(source, config.perform_caching)
host = compute_asset_host(source)

0 comments on commit a5f547c

Please sign in to comment.