Merge pull request #1960 from coopdevs/remove-warning

Fix payment_method_decorator boot-time warning
This commit is contained in:
Enrico Stano
2018-02-02 10:43:51 +01:00
committed by GitHub

View File

@@ -1,8 +1,6 @@
Spree::PaymentMethod.class_eval do
include Spree::Core::CalculatedAdjustments
Spree::PaymentMethod::DISPLAY = [:both, :front_end, :back_end]
acts_as_taggable
has_and_belongs_to_many :distributors, join_table: 'distributors_payment_methods', :class_name => 'Enterprise', association_foreign_key: 'distributor_id'