From 1059c170d1288c6ec5cee89ea894091a6fa2ab2a Mon Sep 17 00:00:00 2001 From: Rob Harrington Date: Wed, 31 Aug 2016 11:31:59 +1000 Subject: [PATCH] Adding require_relative of Gateway decorator in attempt to fix inheritance for Gateway::PayPalExpress --- app/models/spree/gateway/pay_pal_express_decorator.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/spree/gateway/pay_pal_express_decorator.rb b/app/models/spree/gateway/pay_pal_express_decorator.rb index dc8239a107..f83151e617 100644 --- a/app/models/spree/gateway/pay_pal_express_decorator.rb +++ b/app/models/spree/gateway/pay_pal_express_decorator.rb @@ -1,3 +1,5 @@ +require_relative '../gateway_decorator' + module Spree class Gateway::PayPalExpress < Gateway # Something odd is happening with class inheritance here, this class (defined in spree_paypal_express gem)