Permalink
Browse files

Give higher priority to assets.cache_store.

  • Loading branch information...
1 parent d8e2a1f commit 8d0f03923cae0a6556e9997991982a7c90dca14d @josevalim josevalim committed Jul 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/sprockets/railtie.rb
@@ -62,7 +62,7 @@ def asset_environment(app)
env.logger = Rails.logger
if env.respond_to?(:cache)
- env.cache = Rails.cache
+ env.cache = assets.cache_store || Rails.cache
end
if assets.compress

0 comments on commit 8d0f039

Please sign in to comment.