Sha256: 0df7d02cd0a4983cb0265d970f079d926643497ebe538a3b63614ec1cd9f2f5c
Contents?: true
Size: 421 Bytes
Versions: 89
Compression:
Stored size: 421 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.find_by!(number: params[:order_id]) @payment = @order.payments.find_by!(number: params[:payment_id]) end end end end
Version data entries
89 entries across 89 versions & 1 rubygems