Sha256: 9aa41eb0007d37a83c03895fc802fafd59529c4f42aeb3b1854415a50af74e7a

Contents?: true

Size: 413 Bytes

Versions: 43

Compression:

Stored size: 413 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.where(number: params[:order_id]).first!
        @payment = @order.payments.find(params[:payment_id])
      end
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
solidus_backend-2.3.0.rc1 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.3.0.beta1 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.0.2 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-1.4.1 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.2.1 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.2.0 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.2.0.rc1 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.2.0.beta1 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.1.0 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.1.0.rc1 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.0.1 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.1.0.beta1 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.0.0 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-1.4.0 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.0.0.rc1 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-1.4.0.rc1 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.0.0.beta1 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-1.4.0.beta1 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-1.3.1 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-1.3.0 app/controllers/spree/admin/log_entries_controller.rb