Sha256: 1415d360e4858f4e87234c6d94c3e242a851b217b34dc5578ac673518b813234
Contents?: true
Size: 416 Bytes
Versions: 38
Compression:
Stored size: 416 Bytes
Contents
module Spree module Admin class LogEntriesController < Spree::Admin::BaseController before_filter :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
38 entries across 38 versions & 1 rubygems