From bf6a184b0c38a5a657dece5441b15d1f5b1113d6 Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Fri, 30 Jun 2017 20:40:43 +0900 Subject: [PATCH] Fix that AdminMailer does not send (#4012) --- app/mailers/admin_mailer.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/mailers/admin_mailer.rb b/app/mailers/admin_mailer.rb index fc19a6d40b..fd9223533a 100644 --- a/app/mailers/admin_mailer.rb +++ b/app/mailers/admin_mailer.rb @@ -1,6 +1,8 @@ # frozen_string_literal: true class AdminMailer < ApplicationMailer + helper StreamEntriesHelper + def new_report(recipient, report) @report = report @me = recipient