mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 00:56:19 +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
|