Merge branch 'main' into glitch-soc/merge-upstream

This commit is contained in:
Claire
2022-06-10 11:51:43 +02:00
156 changed files with 1768 additions and 156 deletions

View File

@@ -2,7 +2,7 @@
class URLValidator < ActiveModel::EachValidator
def validate_each(record, attribute, value)
record.errors.add(attribute, I18n.t('applications.invalid_url')) unless compliant?(value)
record.errors.add(attribute, :invalid) unless compliant?(value)
end
private