Skip to content

Commit a233f41

Browse files
authored
Merge pull request #197 from nebulab/elia/fix-rails-6-warning
Move AuthConfiguration out of autoloading paths
2 parents 102fb7c + 5ea6ca5 commit a233f41

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

lib/spree/auth/engine.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ class Engine < Rails::Engine
1212
engine_name 'solidus_auth'
1313

1414
initializer "spree.auth.environment", before: :load_config_initializers do |_app|
15+
require 'spree/auth_configuration'
16+
1517
Spree::Auth::Config = Spree::AuthConfiguration.new
1618
end
1719

0 commit comments

Comments
 (0)