From 4427480356fff8b31f90ca8d879c7fbda20cb5a6 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sat, 3 Aug 2019 21:47:46 -0500 Subject: `domain_exists` -> `domain_exists?` --- app/helpers/moderation_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/moderation_helper.rb b/app/helpers/moderation_helper.rb index 10fa05109..b6fd7be53 100644 --- a/app/helpers/moderation_helper.rb +++ b/app/helpers/moderation_helper.rb @@ -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 -- cgit