diff options
Diffstat (limited to 'app/mailers')
-rw-r--r-- | app/mailers/comment_mailer.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/mailers/comment_mailer.rb b/app/mailers/comment_mailer.rb index aeed1b0..41feede 100644 --- a/app/mailers/comment_mailer.rb +++ b/app/mailers/comment_mailer.rb | |||
@@ -8,4 +8,9 @@ class CommentMailer < ApplicationMailer | |||
8 | @comment = params[:comment] | 8 | @comment = params[:comment] |
9 | mail(to: @comment.blog.user.email, subject: "[Four Island] Pending comment on #{@comment.blog.title}") | 9 | mail(to: @comment.blog.user.email, subject: "[Four Island] Pending comment on #{@comment.blog.title}") |
10 | end | 10 | end |
11 | |||
12 | def reply_comment_email | ||
13 | @comment = params[:comment] | ||
14 | mail(to: @comment.reply_to.email, subject: "[Four Island] Reply to your comment on #{@comment.blog.title}") | ||
15 | end | ||
11 | end | 16 | end |