From 6baf0b46f7d023f724cd6a6fcc832d39bd66c48c Mon Sep 17 00:00:00 2001 From: guange <8863824@gmail.com> Date: Fri, 8 Apr 2016 11:37:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E6=B6=88=E6=81=AF=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/mailer.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/mailer.rb b/app/models/mailer.rb index dd8f625c4..2a429f6cd 100644 --- a/app/models/mailer.rb +++ b/app/models/mailer.rb @@ -628,6 +628,7 @@ class Mailer < ActionMailer::Base # attachments_added(attachments) => Mail::Message object # Mailer.attachments_added(attachments).deliver => sends an email to the project's recipients def homework_added(homework_common) + logger.info "homework added" @homework_common = homework_common @author = homework_common.user @homework_common_url = url_for(:controller => "homework_common", :action =>"index", :homework => @homework_common.id)