diff options
author | jomo <github@jomo.tv> | 2015-04-02 10:30:02 +0200 |
---|---|---|
committer | jomo <github@jomo.tv> | 2015-04-02 10:30:02 +0200 |
commit | 11efebc31663c88cf45c0aaa29c975f37a540505 (patch) | |
tree | 0da6fcf3bfaa2aa79c86b49e74f7f2f5320b8382 | |
parent | a404feb6c568d2347cede31d9420a9b729a54a57 (diff) |
Revert "more improvements"
This reverts commit a404feb6c568d2347cede31d9420a9b729a54a57.
-rw-r--r-- | app/controllers/blogposts_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/blogposts_controller.rb b/app/controllers/blogposts_controller.rb index 799c465..e1fae78 100644 --- a/app/controllers/blogposts_controller.rb +++ b/app/controllers/blogposts_controller.rb @@ -12,7 +12,7 @@ class BlogpostsController < ApplicationController @comments = @post.comments.page(params[:page]) @comments = @comments.select do |c| # shadowban april fool comments - if c.author.is?(current_user) || !["april", "hoax", "fool", "troll", "joke", "prank", "legit", "date", "today"].any? { |word| c.content.downcase.include? word } + if c.author.is?(current_user) || !["april", "hoax", "fool", "troll", "joke", "prank", "legit"].any? { |word| c.content.downcase.include? word } true elsif current_user && current_user.mod? c.content = "[HIDDEN] " + c.content |