diff options
Diffstat (limited to 'app/validators/gitlab/zoom_url_validator.rb')
-rw-r--r-- | app/validators/gitlab/zoom_url_validator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/validators/gitlab/zoom_url_validator.rb b/app/validators/gitlab/zoom_url_validator.rb index c752cec07c2..d3da3977697 100644 --- a/app/validators/gitlab/zoom_url_validator.rb +++ b/app/validators/gitlab/zoom_url_validator.rb @@ -8,7 +8,7 @@ module Gitlab # @example usage # validates :url, 'gitlab/zoom_url': true class ZoomUrlValidator < ActiveModel::EachValidator - ALLOWED_SCHEMES = %w(https).freeze + ALLOWED_SCHEMES = %w[https].freeze def validate_each(record, attribute, value) links_count = Gitlab::ZoomLinkExtractor.new(value).links.size |