lib/spree/auth/engine.rb in solidus_auth_devise-1.0.0 vs lib/spree/auth/engine.rb in solidus_auth_devise-1.1.0
- old
+ new
@@ -23,12 +23,9 @@
puts %Q{Devise.secret_key = "#{SecureRandom.hex(50)}"}
end
end
def self.activate
- Dir.glob(File.join(File.dirname(__FILE__), '../../app/**/*_decorator*.rb')) do |c|
- Rails.configuration.cache_classes ? require(c) : load(c)
- end
if Spree::Auth::Engine.backend_available?
Rails.application.config.assets.precompile += [
'lib/assets/javascripts/spree/backend/solidus_auth.js',
'lib/assets/javascripts/spree/backend/solidus_auth.css'
]