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 Permalink Normal View History

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