Sha256: ba1158b60cc53059e7ab7e529b3b4abff9c223a5d34a4f503950597286a6fc7f
Contents?: true
Size: 364 Bytes
Versions: 3
Compression:
Stored size: 364 Bytes
Contents
Spree::Admin::GeneralSettingsController.class_eval do before_filter :update_print_invoice_next_number_settings, only: :update private def update_print_invoice_next_number_settings params.each do |name, value| next unless Spree::PrintInvoice::Config.has_preference? name Spree::PrintInvoice::Config[name] = value end end end
Version data entries
3 entries across 3 versions & 1 rubygems