Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
ups initialize
Browse files Browse the repository at this point in the history
  • Loading branch information
sbounmy committed Apr 21, 2012
1 parent 26cd7fe commit d0012cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/spree_variant_options/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Engine < Rails::Engine
end
end

initializer "spree_variant_options.environment", :after => "spree.environment" do |app|
initializer "spree_variant_options.environment", :before => :load_config_initializers, :after => "spree.environment" do |app|
Dir.glob(File.join(File.dirname(__FILE__), "../../app/models/spree/app_configuration/*.rb")) do |c|
Rails.application.config.cache_classes ? require(c) : load(c)
end
Expand Down

0 comments on commit d0012cf

Please sign in to comment.