Sha256: 754399d5ab76648bb2660b00c558f60b7e2d244067cc0e4a40b0dbc417c6afbe
Contents?: true
Size: 297 Bytes
Versions: 120
Compression:
Stored size: 297 Bytes
Contents
module Spree module Admin module PaymentsHelper def payment_method_name(payment) # HACK: to allow us to retrieve the name of a "deleted" payment method id = payment.payment_method_id Spree::PaymentMethod.find_with_destroyed(id).name end end end end
Version data entries
120 entries across 120 versions & 2 rubygems