[Fixes #81] - changes the way we initialize payment methods

This commit is contained in:
Jeff Squires 2012-09-12 16:37:13 -04:00 committed by Jeff Dutil
parent 5a048d4449
commit 369ee290de
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ module SpreePaypalExpress
end end
end end
config.after_initialize do |app| initializer "spree_paypal_express.register.payment_methods" do |app|
app.config.spree.payment_methods += [ app.config.spree.payment_methods += [
Spree::BillingIntegration::PaypalExpress, Spree::BillingIntegration::PaypalExpress,
Spree::BillingIntegration::PaypalExpressUk Spree::BillingIntegration::PaypalExpressUk