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

Version Path
spree_backend-2.3.13 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-2.2.14 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-2.3.12 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-2.2.13 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-2.3.11 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-2.2.12 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-2.3.10 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-2.3.9 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-2.2.11 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-2.2.10 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-2.3.8 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-2.3.7 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-2.2.9 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-2.1.12 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-2.3.6 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-2.2.8 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-2.1.11 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-2.3.5 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-2.2.7 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-2.1.10 app/controllers/spree/admin/log_entries_controller.rb