diff options
author | Claire <claire.github-309c@sitedethib.com> | 2023-02-10 10:20:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-10 10:20:43 +0100 |
commit | 67de888bad9b045787dd8fe6db77658b84137426 (patch) | |
tree | 694ead89261d7c2277d0c3c962a93add094a3a6a | |
parent | f23d30100a3a85d4d099e9ea95a97b1dd5a3f9b0 (diff) |
Fix server status URL being a required server setting (#23499)
-rw-r--r-- | app/models/form/admin_settings.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/form/admin_settings.rb b/app/models/form/admin_settings.rb index 001caa376..070478e8e 100644 --- a/app/models/form/admin_settings.rb +++ b/app/models/form/admin_settings.rb @@ -69,7 +69,7 @@ class Form::AdminSettings validates :show_domain_blocks_rationale, inclusion: { in: %w(disabled users all) }, if: -> { defined?(@show_domain_blocks_rationale) } validates :media_cache_retention_period, :content_cache_retention_period, :backups_retention_period, numericality: { only_integer: true }, allow_blank: true, if: -> { defined?(@media_cache_retention_period) || defined?(@content_cache_retention_period) || defined?(@backups_retention_period) } validates :site_short_description, length: { maximum: 200 }, if: -> { defined?(@site_short_description) } - validates :status_page_url, url: true + validates :status_page_url, url: true, allow_blank: true validate :validate_site_uploads KEYS.each do |key| |