lib/artfully_ose/engine.rb in artfully_ose-1.2.0.pre.17 vs lib/artfully_ose/engine.rb in artfully_ose-1.2.0.pre.18
- old
+ new
@@ -18,9 +18,10 @@
app.config.s3.secret_access_key = ENV['S3_SECRET_ACCESS_KEY']
end
initializer "artfully_ose.payment_model_paths" do |app|
puts "ArtfullyOse: Initializing payment model paths"
+ puts config.root
app.config.payment_model_paths = []
app.config.payment_model_paths += Dir["#{config.root}/app/models/payments/*.rb"]
end
initializer "artfully_ose.discount_type_paths" do |app|
\ No newline at end of file