Sha256: 2c51be24eeb3d8841669e87bfebc3ed6b5b3e17cdeb7f93d503dfd4c3dadb846
Contents?: true
Size: 322 Bytes
Versions: 5
Compression:
Stored size: 322 Bytes
Contents
module Workarea decorate Storefront::Checkout::AddressesController, with: :mail_chimp do decorated do after_action :sync_with_mailchimp, only: [:update_addresses] end private def sync_with_mailchimp Workarea::MailChimp::Ecommerce::SaveCart.perform_async(current_order.id) end end end
Version data entries
5 entries across 5 versions & 1 rubygems