Sha256: 9aa41eb0007d37a83c03895fc802fafd59529c4f42aeb3b1854415a50af74e7a
Contents?: true
Size: 413 Bytes
Versions: 43
Compression:
Stored size: 413 Bytes
Contents
module Spree module Admin class LogEntriesController < Spree::Admin::BaseController before_action :find_order_and_payment def index @log_entries = @payment.log_entries end private def find_order_and_payment @order = Spree::Order.where(number: params[:order_id]).first! @payment = @order.payments.find(params[:payment_id]) end end end end
Version data entries
43 entries across 43 versions & 1 rubygems