summaryrefslogtreecommitdiff
path: root/app/helpers/projects_helper.rb
diff options
context:
space:
mode:
authorJan Christophersen <jan@ruken.pw>2017-02-17 18:18:06 +0100
committerJan Christophersen <jan@ruken.pw>2017-02-24 16:35:34 +0100
commit150c3637521653a9e1200483376e4661ea2a46b3 (patch)
tree11c082e095baf32f2bb888f365df90fe99834544 /app/helpers/projects_helper.rb
parent3589cc064c3ba0b5a6b062c317368dfe9183d1ba (diff)
downloadgitlab-ce-150c3637521653a9e1200483376e4661ea2a46b3.tar.gz
Add the username of the current user to the HTTP(S) clone URL
Diffstat (limited to 'app/helpers/projects_helper.rb')
-rw-r--r--app/helpers/projects_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb
index 735a355c25a..4befeacc135 100644
--- a/app/helpers/projects_helper.rb
+++ b/app/helpers/projects_helper.rb
@@ -241,7 +241,7 @@ module ProjectsHelper
when 'ssh'
project.ssh_url_to_repo
else
- project.http_url_to_repo
+ project.http_url_to_repo(current_user)
end
end