summaryrefslogtreecommitdiff
path: root/lib/solidus_subscriptions/engine.rb
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
commit416b4c614eca6e7cf74f3474c684501a61ecb261 (patch)
treebe4815033c975cbd1f34f42a66403c933d601970 /lib/solidus_subscriptions/engine.rb
parent2c52ba68b60029d8a010ae6a7e43bd369b37df7a (diff)
autoload app/jobs
Diffstat (limited to 'lib/solidus_subscriptions/engine.rb')
-rw-r--r--lib/solidus_subscriptions/engine.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/solidus_subscriptions/engine.rb b/lib/solidus_subscriptions/engine.rb
index 6b42716..6c319fd 100644
--- a/lib/solidus_subscriptions/engine.rb
+++ b/lib/solidus_subscriptions/engine.rb
@@ -10,6 +10,8 @@ module SolidusSubscriptions
g.test_framework :rspec
end
+ config.autoload_paths << config.root.join('app', 'jobs')
+
initializer 'solidus_subscriptions.configs', before: "spree.register.payment_methods" do
require 'solidus_subscriptions/config'
end