Sha256: e98dbec72d16bfbbdba589185e7d62175703928a5a13b7827156b9c66594fb24

Contents?: true

Size: 216 Bytes

Versions: 6

Compression:

Stored size: 216 Bytes

Contents

module Workarea
  decorate Storefront::ApplicationController, with: :forter do

    def current_order
      super.tap do |order|
        order.forter_tracking_code = cookies[:forterToken]
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
workarea-forter-1.3.2 app/controllers/workarea/storefront/application_controller.decorator
workarea-forter-1.3.1 app/controllers/workarea/storefront/application_controller.decorator
workarea-forter-1.3.0 app/controllers/workarea/storefront/application_controller.decorator
workarea-forter-1.2.4 app/controllers/workarea/storefront/application_controller.decorator
workarea-forter-1.2.3 app/controllers/workarea/storefront/application_controller.decorator
workarea-forter-1.2.2 app/controllers/workarea/storefront/application_controller.decorator