Sha256: 7a156e0e4b31ca2c530788f0ee1964c4ccaf82c70c1f0cee953b8b6e48aaabda
Contents?: true
Size: 416 Bytes
Versions: 47
Compression:
Stored size: 416 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.friendly.find(params[:order_id]) @payment = @order.payments.friendly.find(params[:payment_id]) end end end end
Version data entries
47 entries across 47 versions & 1 rubygems