about summary refs log tree commit diff stats
path: root/app/controllers
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-03-04 12:47:12 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2025-03-04 12:47:12 -0500
commit0353d529e0d54a4a2d836afeb3224f3d53a649e4 (patch)
tree0451bc8840fde413e4921ac267d25329e4052cba /app/controllers
parent44b06e4b4c0cd2a8935ea6efbd14d1675b031fcb (diff)
downloadthoughts-0353d529e0d54a4a2d836afeb3224f3d53a649e4.tar.gz
thoughts-0353d529e0d54a4a2d836afeb3224f3d53a649e4.tar.bz2
thoughts-0353d529e0d54a4a2d836afeb3224f3d53a649e4.zip
Disable pending comment emails
Diffstat (limited to 'app/controllers')
-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."