We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2f0a100 + 2aac886 commit 172fb42Copy full SHA for 172fb42
README.md
@@ -99,8 +99,6 @@ config.assets.configure do |env|
99
env.register_preprocessor 'application/javascript', MyProcessor
100
101
env.logger = Rails.logger
102
-
103
- env.cache = ActiveSupport::Cache::FileStore.new("tmp/cache/assets")
104
end
105
```
106
lib/sprockets/railtie.rb
@@ -98,7 +98,7 @@ def configure(&block)
98
config.assets.configure do |env|
env.cache = Sprockets::Cache::FileStore.new(
- "#{env.root}/tmp/cache",
+ "#{env.root}/tmp/cache/assets",
config.assets.cache_limit,
env.logger
)
0 commit comments