Sha256: c2dec8d50a6194ea4092d27267d0514e96efc0e26e14483b58ef6a38eb206b8c

Contents?: true

Size: 99 Bytes

Versions: 2

Compression:

Stored size: 99 Bytes

Contents

Spree::PaymentMethod.class_eval do
  default_scope -> { order("#{self.table_name}.position") }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_sort_payment_methods-2.1.2 app/models/payment_method_decorator.rb
spree_sort_payment_methods-2.0.1 app/models/payment_method_decorator.rb