lib/propshaft/railtie.rb in propshaft-0.2.1 vs lib/propshaft/railtie.rb in propshaft-0.2.2
- old
+ new
@@ -15,10 +15,10 @@
class Railtie < ::Rails::Railtie
config.assets = ActiveSupport::OrderedOptions.new
config.assets.paths = []
config.assets.prefix = "/assets"
config.assets.compilers = [ [ "text/css", Propshaft::Compilers::CssAssetUrls ] ]
- config.assets.sweep_cache = Rails.env.development? || Rails.env.test?
+ config.assets.sweep_cache = Rails.env.development?
config.after_initialize do |app|
config.assets.output_path ||=
Pathname.new(File.join(app.config.paths["public"].first, app.config.assets.prefix))