Permalink
Browse files
Only add fingerprints if perform_caching is on
- Loading branch information...
Showing
with
1 addition
and
1 deletion.
-
+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