about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--app/controllers/comments_controller.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/comments_controller.rb b/app/controllers/comments_controller.rb index b305d0a..9413339 100644 --- a/app/controllers/comments_controller.rb +++ b/app/controllers/comments_controller.rb
@@ -56,7 +56,8 @@ class CommentsController < ApplicationController
56 CommentMailer.with(comment: @comment).reply_comment_email.deliver_later 56 CommentMailer.with(comment: @comment).reply_comment_email.deliver_later
57 end 57 end
58 else 58 else
59 CommentMailer.with(comment: @comment).new_pending_comment_email.deliver_later 59 # CommentMailer.with(comment: @comment).new_pending_comment_email.deliver_later
60 # I'm disabling pending comment emails, at least for now, because I am getting too many.
60 end 61 end
61 else 62 else
62 flash.alert = "Error posting comment." 63 flash.alert = "Error posting comment."