Sha256: cebe98c1340e00c39fba73c4c5913996dcbcebe2e9e6d001323cb0a4c6895013
Contents?: true
Size: 798 Bytes
Versions: 4
Compression:
Stored size: 798 Bytes
Contents
module SpreeItIsAPresent module Spree module Admin module Order module CustomerDetailsControllerDecorator extend ActiveSupport::Concern private def order_params params.require(:order).permit( :email, :user_id, :use_billing, bill_address_attributes: permitted_address_attributes, ship_address_attributes: permitted_address_attributes, present_note_attributes: present_note_attributes ) end def present_note_attributes %i[recipient_name dedication] end end end end end end Spree::Admin::Orders::CustomerDetailsController.prepend SpreeItIsAPresent::Spree::Admin::Order::CustomerDetailsControllerDecorator
Version data entries
4 entries across 4 versions & 1 rubygems