discourse/app/mailers/test_mailer.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
214 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2013-02-06 03:16:51 +08:00
class TestMailer < ActionMailer::Base
include Email::BuildEmailHelper
2013-02-06 03:16:51 +08:00
def send_test(to_address, opts = {})
build_email(to_address, template: "test_mailer", **opts)
2013-02-06 03:16:51 +08:00
end
end