diff --git a/app/validators/url_validator.rb b/app/validators/url_validator.rb index 291f9288..8cfc5fcc 100644 --- a/app/validators/url_validator.rb +++ b/app/validators/url_validator.rb @@ -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