Fix that AdminMailer does not send (#4012)

This commit is contained in:
Yamagishi Kazutoshi 2017-06-30 20:40:43 +09:00 committed by Eugen Rochko
parent 5c7a4f0b32
commit 3a7106f05a

View File

@ -1,6 +1,8 @@
# frozen_string_literal: true # frozen_string_literal: true
class AdminMailer < ApplicationMailer class AdminMailer < ApplicationMailer
helper StreamEntriesHelper
def new_report(recipient, report) def new_report(recipient, report)
@report = report @report = report
@me = recipient @me = recipient