summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-07-29 13:23:28 +0200
committerDouwe Maan <douwe@gitlab.com>2015-07-29 13:23:28 +0200
commit72c552c2d4ea985a9ab1470ba2e44fc7e52673d9 (patch)
tree924810d81d0a476885c85734fdb48956d4e6c13a /app
parent76b3e44c3955e14addc7e577a475634e6f0f68b3 (diff)
downloadgitlab-ce-72c552c2d4ea985a9ab1470ba2e44fc7e52673d9.tar.gz
Fix specs
Diffstat (limited to 'app')
-rw-r--r--app/models/project.rb2
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