Sha256: 96146357da9063d93d3731f53bab97eba3b050db512fb57e7cc2f9d8b8db7769

Contents?: true

Size: 304 Bytes

Versions: 2

Compression:

Stored size: 304 Bytes

Contents

# frozen_string_literal: true

module SolidusAfterpay
  module Spree
    module OrdersControllerDecorator
      def self.prepended(base)
        base.helper ::SolidusAfterpay::AfterpayHelper
      end

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_afterpay-0.3.0 app/decorators/controllers/solidus_afterpay/spree/orders_controller_decorator.rb
solidus_afterpay-0.2.0 app/decorators/controllers/solidus_afterpay/spree/orders_controller_decorator.rb