Sha256: 2884aa5fc8a7c5d8d958128fda0627261b35e684e71da9cbe12f219f100b5b22

Contents?: true

Size: 298 Bytes

Versions: 4

Compression:

Stored size: 298 Bytes

Contents

# frozen_string_literal: true

module SolidusPaypalBraintree
  module CheckoutControllerDecorator
    def self.prepended(base)
      base.helper ::SolidusPaypalBraintree::BraintreeCheckoutHelper
    end

    ::Spree::CheckoutController.prepend(self) if SolidusSupport.frontend_available?
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_paypal_braintree-1.2.0 app/decorators/controllers/solidus_paypal_braintree/checkout_controller_decorator.rb
solidus_paypal_braintree-1.1.2 app/decorators/controllers/solidus_paypal_braintree/checkout_controller_decorator.rb
solidus_paypal_braintree-1.1.1 app/decorators/controllers/solidus_paypal_braintree/checkout_controller_decorator.rb
solidus_paypal_braintree-1.1.0 app/decorators/controllers/solidus_paypal_braintree/checkout_controller_decorator.rb