Sha256: 74332351b99daf45de8282f1c10ab58aa7d6857e1ee10b2302544860ff40e0ed
Contents?: true
Size: 356 Bytes
Versions: 37
Compression:
Stored size: 356 Bytes
Contents
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
37 entries across 37 versions & 1 rubygems