diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-12 14:42:35 +0300 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-12 14:42:35 +0300 |
| commit | 518181697041c5111bb42ca2bfdc119e258d425e (patch) | |
| tree | d02b7c6ff60f40fdec158b9d789e741c2c267b38 /app/models/project.rb | |
| parent | e49ec46461ef033fb54c717378628a31bd33248b (diff) | |
| parent | d938486c3607dde357bf10f2d31b204290cdfd3f (diff) | |
| download | gitlab-ce-518181697041c5111bb42ca2bfdc119e258d425e.tar.gz | |
Merge branch 'master' into 6-0-dev
Diffstat (limited to 'app/models/project.rb')
| -rw-r--r-- | app/models/project.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index 4beba83df2c..8297c11ba8a 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -88,7 +88,7 @@ class Project < ActiveRecord::Base validates_uniqueness_of :path, scope: :namespace_id validates :import_url, - format: { with: URI::regexp(%w(http https)), message: "should be a valid url" }, + format: { with: URI::regexp(%w(git http https)), message: "should be a valid url" }, if: :import? validate :check_limit |
