summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrendan Deere <brendan@stembolt.com>2016-09-23 15:04:11 -0700
committerBrendan Deere <brendan@stembolt.com>2016-09-23 15:17:40 -0700
commit8d58933a681bb894ac3acdbdb280467b9a88bbeb (patch)
tree40b4b6b1be90c7ddbe2f12adc369f3b6e3388937
parent416b4c614eca6e7cf74f3474c684501a61ecb261 (diff)
Autoload constants in the lib folder
-rw-r--r--lib/solidus_subscriptions/engine.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/solidus_subscriptions/engine.rb b/lib/solidus_subscriptions/engine.rb
index 6c319fd..5e2aa82 100644
--- a/lib/solidus_subscriptions/engine.rb
+++ b/lib/solidus_subscriptions/engine.rb
@@ -11,6 +11,7 @@ module SolidusSubscriptions
end
config.autoload_paths << config.root.join('app', 'jobs')
+ config.autoload_paths << config.root.join('lib')
initializer 'solidus_subscriptions.configs', before: "spree.register.payment_methods" do
require 'solidus_subscriptions/config'