mirror of
https://github.com/discourse/discourse.git
synced 2024-12-21 17:43:44 +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
|