Sha256: 9de5083c00b6ede1a5953f8faa4e55346d9c55ad3986d04ffaf5eb05c45af8cc

Contents?: true

Size: 444 Bytes

Versions: 33

Compression:

Stored size: 444 Bytes

Contents

# frozen_string_literal: true

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

33 entries across 33 versions & 2 rubygems

Version Path
solidus_backend-2.8.6 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.6.6 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.7.4 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.8.5 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.7.3 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.6.5 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.8.4 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.8.3 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.7.2 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.6.4 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.8.2 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.8.1 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.6.3 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.8.0 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.7.1 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend-2.6.2 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend_devise_token_auth-2.8.0.alpha.14 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend_devise_token_auth-2.8.0.alpha.13 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend_devise_token_auth-2.8.0.alpha.12 app/controllers/spree/admin/log_entries_controller.rb
solidus_backend_devise_token_auth-2.8.0.alpha.11 app/controllers/spree/admin/log_entries_controller.rb