diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-08-03 21:47:46 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-08-03 21:47:46 -0500 |
commit | 4427480356fff8b31f90ca8d879c7fbda20cb5a6 (patch) | |
tree | da99c70d02e9c9b7a43109ba72098320cf89eaba | |
parent | 53a1f9d6344b4923ea29eae11d83a396d616c4c1 (diff) |
`domain_exists` -> `domain_exists?`
-rw-r--r-- | app/helpers/moderation_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |