about summary refs log tree commit diff stats
path: root/app/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/comments_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/comments_controller.rb b/app/controllers/comments_controller.rb index 368f587..b305d0a 100644 --- a/app/controllers/comments_controller.rb +++ b/app/controllers/comments_controller.rb
@@ -35,6 +35,8 @@ class CommentsController < ApplicationController
35 if is_blatant 35 if is_blatant
36 # I am lying. 36 # I am lying.
37 flash.notice = "Comment submitted successfully! It will need to be moderated before it shows up on the blog." 37 flash.notice = "Comment submitted successfully! It will need to be moderated before it shows up on the blog."
38
39 Global.increment_filtered_comments
38 else 40 else
39 if is_spam 41 if is_spam
40 @comment.status = :pending 42 @comment.status = :pending