mirror of
https://github.com/discourse/discourse.git
synced 2024-12-24 23:54:56 +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
|