Sha256: 473e5257df3bda1443f0a9fbcfe7c0c5e37b18dc5c720dc0bb482b4d74747f5a
Contents?: true
Size: 472 Bytes
Versions: 2
Compression:
Stored size: 472 Bytes
Contents
# frozen_string_literal: true module SolidusLegacyPromotions module SolidusAdminAdjustmentsControllerDecorator private def load_adjustments @adjustments = @order .all_adjustments .eligible .order("adjustable_type ASC, created_at ASC") .ransack(params[:q]) .result end if Object.const_defined?("SolidusAdmin::AdjustmentsController") SolidusAdmin::AdjustmentsController.prepend self end end end
Version data entries
2 entries across 2 versions & 1 rubygems