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:
authorDouwe Maan <douwe@gitlab.com>2015-07-29 14:23:28 +0300
committerDouwe Maan <douwe@gitlab.com>2015-07-29 14:23:28 +0300
commit72c552c2d4ea985a9ab1470ba2e44fc7e52673d9 (patch)
tree924810d81d0a476885c85734fdb48956d4e6c13a /app/models
parent76b3e44c3955e14addc7e577a475634e6f0f68b3 (diff)
Fix specs
Diffstat (limited to 'app/models')
-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