Sha256: e444a178f6036d6198fd493ca01dacfbe5b76a50fbf6a3128c709da62c598e69
Contents?: true
Size: 387 Bytes
Versions: 8
Compression:
Stored size: 387 Bytes
Contents
# frozen_string_literal: true module Spree class MailerPreviews class ReimbursementPreview < ActionMailer::Preview def reimbursement reimbursement = Reimbursement.last raise "Your database needs at least one Reimbursement to render this preview" unless reimbursement ReimbursementMailer.reimbursement_email(reimbursement) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems