lib/solidus_afterpay/engine.rb in solidus_afterpay-0.2.0 vs lib/solidus_afterpay/engine.rb in solidus_afterpay-0.3.0
- old
+ new
@@ -17,9 +17,9 @@
end
initializer "spree.payment_methods.register_afterpay_payment_method",
after: "spree.register.payment_methods" do |app|
app.config.spree.payment_methods << "SolidusAfterpay::PaymentMethod"
- Spree::PermittedAttributes.source_attributes.concat [:token]
+ Spree::PermittedAttributes.source_attributes.push :token
end
end
end