diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-07-29 13:23:28 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-07-29 13:23:28 +0200 |
commit | 72c552c2d4ea985a9ab1470ba2e44fc7e52673d9 (patch) | |
tree | 924810d81d0a476885c85734fdb48956d4e6c13a /app/models | |
parent | 76b3e44c3955e14addc7e577a475634e6f0f68b3 (diff) | |
download | gitlab-ce-72c552c2d4ea985a9ab1470ba2e44fc7e52673d9.tar.gz |
Fix specs
Diffstat (limited to 'app/models')
-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 0608133b2cb..2d029962557 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -571,7 +571,7 @@ class Project < ActiveRecord::Base end def http_url_to_repo - [gitlab_config.url, '/', path_with_namespace, '.git'].join('') + "#{web_url}.git" end # Check if current branch name is marked as protected in the system |