Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make sure delayed job is loaded

  • Loading branch information...
commit af5f279bff8f3bdc0e81f63e2a94768951af4fd0 1 parent c876032
@jzw authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/import_products.rb
View
5 lib/import_products.rb
@@ -1,5 +1,6 @@
require 'spree_core'
require 'import_products_hooks'
+require 'delayed_job'
module ImportProducts
class Engine < Rails::Engine
@@ -10,9 +11,9 @@ def self.activate
Dir.glob(File.join(File.dirname(__FILE__), "../app/**/*_decorator*.rb")) do |c|
Rails.env.production? ? require(c) : load(c)
end
-
+
UserMailer.send(:include, ImportProducts::UserMailerExt)
-
+
end
config.to_prepare &method(:activate).to_proc
Please sign in to comment.
Something went wrong with that request. Please try again.