lib/openseadragon/engine.rb in openseadragon-0.4.0 vs lib/openseadragon/engine.rb in openseadragon-0.5.0

- old
+ new

@@ -1,9 +1,9 @@ module Openseadragon class Engine < ::Rails::Engine isolate_namespace Openseadragon - config.assets.precompile += %w(openseadragon/*.png) - + initializer 'openseadragon.assets.precompile' do |app| + app.config.assets.precompile += %w[openseadragon/*.png] + end end end -