mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 11:03:41 +08:00
10 lines
214 B
Ruby
10 lines
214 B
Ruby
# frozen_string_literal: true
|
|
|
|
class TestMailer < ActionMailer::Base
|
|
include Email::BuildEmailHelper
|
|
|
|
def send_test(to_address, opts = {})
|
|
build_email(to_address, template: "test_mailer", **opts)
|
|
end
|
|
end
|