diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-08-03 06:31:55 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-08-03 06:31:55 -0500 |
commit | cd52f7500603ab82f18d651161e8ab7ca3565e35 (patch) | |
tree | 4276261d2dac3afeb2c541cf1a2e4067ac78969a /app/helpers | |
parent | a2b9ac9a481ba5b7636b981132f4b127841f1af3 (diff) |
`domain_exists` -> `domain_exists?`
Diffstat (limited to 'app/helpers')
-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 13966405e..2c45b4b84 100644 --- a/app/helpers/moderation_helper.rb +++ b/app/helpers/moderation_helper.rb @@ -61,7 +61,7 @@ module ModerationHelper true end - def domain_exists(domain) + def domain_exists?(domain) begin code = Request.new(:head, "https://#{domain}").perform(&:code) rescue |