Sha256: 0510ee81c82f982a67127754013437f1ca0b32d69b0dd75bc4c584d8e9d22a2a
Contents?: true
Size: 405 Bytes
Versions: 6
Compression:
Stored size: 405 Bytes
Contents
module Spree class Admin::PaypalCheckoutPaymentsController < Spree::Admin::BaseController before_action :load_order def index @payments = @order.payments.includes(:payment_method).where(:spree_payment_methods => { :name => 'Spree::Gateway::PayPalCheckout' }) end private def load_order @order = Spree::Order.where(:number => params[:order_id]).first end end end
Version data entries
6 entries across 6 versions & 1 rubygems