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

Version Path
spree_backend-3.2.9 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-3.1.14 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-3.2.8 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-3.1.13 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-3.2.7 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-3.1.12 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-3.2.6 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-3.1.11 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-3.1.10 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-3.2.5 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-3.1.9 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-3.2.4 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-3.1.8 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-3.1.7 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-3.2.3 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-3.2.2 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-3.1.6 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-3.1.5 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-3.2.1 app/controllers/spree/admin/log_entries_controller.rb
spree_backend-3.2.0 app/controllers/spree/admin/log_entries_controller.rb