Fix various rubocop issues.

This commit is contained in:
evazion
2020-01-11 19:01:40 -06:00
parent bab656a873
commit aff3d3b18f
15 changed files with 24 additions and 32 deletions

View File

@@ -78,11 +78,11 @@ module PostSets
end
def hidden_posts
posts.reject { |p| p.visible? }
posts.reject(&:visible?)
end
def banned_posts
posts.select { |p| p.banblocked? }
posts.select(&:banblocked?)
end
def censored_posts