Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-06-30 18:22:56 +0300
committerJames Lopez <james@jameslopez.es>2016-06-30 18:22:56 +0300
commitef5713546bacc653f598eb692b728e35abdb8ab7 (patch)
tree740909fad3bf9d51b7192596490a3ff9e8e1a14c /app/validators
parent67f59ebd50511bfba1ebdc73b6fd269f425ac6f0 (diff)
few more changes from suggestions
Diffstat (limited to 'app/validators')
-rw-r--r--app/validators/addressable_url_validator.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/validators/addressable_url_validator.rb b/app/validators/addressable_url_validator.rb
index c97acf7da95..63761c81721 100644
--- a/app/validators/addressable_url_validator.rb
+++ b/app/validators/addressable_url_validator.rb
@@ -18,7 +18,6 @@
# end
#
class AddressableUrlValidator < ActiveModel::EachValidator
-
DEFAULT_OPTIONS = { protocols: %w(http https ssh git) }
def validate_each(record, attribute, value)