Sha256: 71d2773c7e989cf30db5a5d53a97368a5d3d375d73d66224da813b0ce681554b

Contents?: true

Size: 384 Bytes

Versions: 3

Compression:

Stored size: 384 Bytes

Contents

module Spree
  module Admin
    class GtpayTransactionsController < ResourceController

      def index
        @search = Spree::GtpayTransaction.ransack(params[:q])
        @gtpay_transactions = @search.result.order('created_at desc').page(params[:page]).per(20)
      end

      def query_interface
        @gtpay_transaction.update_transaction_on_query
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree_gtpay-1.0.2 app/controllers/spree/admin/gtpay_transactions_controller.rb
spree_gtpay-1.0.1 app/controllers/spree/admin/gtpay_transactions_controller.rb
spree_gtpay-1.0.0 app/controllers/spree/admin/gtpay_transactions_controller.rb