Sha256: e59f649526a235dccd43b0f96f1eee63b57fc8489e5acea41b773fddfac3a1b9
Contents?: true
Size: 352 Bytes
Versions: 27
Compression:
Stored size: 352 Bytes
Contents
# frozen_string_literal: true module SolidusNexio class BasePaymentController < ::Spree::Api::BaseController skip_before_action :authenticate_user before_action :payment_method private def payment_method @payment_method ||= ::Spree::PaymentMethod.active.available_to_users.find(params[:payment_method_id]) end end end
Version data entries
27 entries across 27 versions & 1 rubygems