Sha256: 0d8d92b8d1b9ab053bba2a322bc5e044cb383eef65c679aabccfbd6d66566d54
Contents?: true
Size: 229 Bytes
Versions: 29
Compression:
Stored size: 229 Bytes
Contents
module Admin::PaymentsHelper def payment_method_name(payment) # hack to allow us to retrieve the name of a "deleted" payment method id = payment.payment_method_id PaymentMethod.find_with_destroyed(id).name end end
Version data entries
29 entries across 29 versions & 6 rubygems