5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2025-02-27 22:11:49 +00:00

Merge branch 'production.panel.sutty.nl' of 0xacab.org:sutty/sutty into production.panel.sutty.nl

This commit is contained in:
Sutty 2024-07-30 14:42:37 +00:00
commit 9a12b6a66d

View file

@ -14,7 +14,6 @@ class UrlValidator < ActiveModel::EachValidator
record.errors.add(attribute, :scheme_missing) if uri.scheme.blank?
record.errors.add(attribute, :host_missing) if uri.host.blank?
record.errors.add(attribute, :path_missing) if uri.path.blank?
rescue URI::Error
record.errors.add(attribute, :invalid)
end