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

Version Path
spree_core-0.60.2 app/helpers/admin/payments_helper.rb
spree_core-0.70.0.rc2 app/helpers/admin/payments_helper.rb
spree_core-0.70.RC1 app/helpers/admin/payments_helper.rb
spree_core-0.60.1 app/helpers/admin/payments_helper.rb
spree_core-0.60.0 app/helpers/admin/payments_helper.rb
spree_core-0.60.0.RC1 app/helpers/admin/payments_helper.rb
spree_core-0.50.2 app/helpers/admin/payments_helper.rb
spree_core-0.50.1 app/helpers/admin/payments_helper.rb
spree_core-0.50.0 app/helpers/admin/payments_helper.rb