`domain_exists` -> `domain_exists?`

staging
multiple creatures 2019-08-03 21:47:46 -05:00
parent 53a1f9d634
commit 4427480356
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ module ModerationHelper
end
if policy.in? %w(silence suspend force_unlisted)
return false unless domain_exists(domain)
return false unless domain_exists?(domain)
domain_block = DomainBlock.find_or_create_by(domain: domain)
domain_block.severity = policy