mod reports: temp hide ability to create reports.

Temp disable creating reports until we're ready to roll it out all the way.
This commit is contained in:
evazion
2020-01-21 11:08:27 -06:00
parent c1f2cd8d9d
commit c7b30279b3
4 changed files with 7 additions and 3 deletions

View File

@@ -129,7 +129,7 @@ class Comment < ApplicationRecord
end
def reportable_by?(user)
user.is_builder? && creator_id != user.id && !creator.is_moderator?
ModerationReport.enabled? && user.is_builder? && creator_id != user.id && !creator.is_moderator?
end
def voted_by?(user)