lib/presenting/engine.rb in presenting-2.1.0 vs lib/presenting/engine.rb in presenting-3.0.0
- old
+ new
@@ -1,7 +1,7 @@
module Presenting
class Engine < Rails::Engine
initializer "presenting.precache" do |app|
- Presenting.precache!
+ Presenting.precache! unless Rails.configuration.assets.enabled
end
end
end