debian-mirror-gitlab/app/mailers/previews/email_rejection_mailer_preview.rb
2018-11-20 20:47:30 +05:30

7 lines
228 B
Ruby

# frozen_string_literal: true
class EmailRejectionMailerPreview < ActionMailer::Preview
def rejection
EmailRejectionMailer.rejection("some rejection reason", "From: someone@example.com\nraw email here").message
end
end