mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Merge pull request #1960 from coopdevs/remove-warning
Fix payment_method_decorator boot-time warning
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user