diff options
author | Jan Christophersen <jan@ruken.pw> | 2017-02-17 20:18:06 +0300 |
---|---|---|
committer | Jan Christophersen <jan@ruken.pw> | 2017-02-24 18:35:34 +0300 |
commit | 150c3637521653a9e1200483376e4661ea2a46b3 (patch) | |
tree | 11c082e095baf32f2bb888f365df90fe99834544 /app/helpers/button_helper.rb | |
parent | 3589cc064c3ba0b5a6b062c317368dfe9183d1ba (diff) |
Add the username of the current user to the HTTP(S) clone URL
Diffstat (limited to 'app/helpers/button_helper.rb')
-rw-r--r-- | app/helpers/button_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/button_helper.rb b/app/helpers/button_helper.rb index 4c7c16d694c..195094730aa 100644 --- a/app/helpers/button_helper.rb +++ b/app/helpers/button_helper.rb @@ -34,7 +34,7 @@ module ButtonHelper content_tag (append_link ? :a : :span), protocol, class: klass, - href: (project.http_url_to_repo if append_link), + href: (project.http_url_to_repo(current_user) if append_link), data: { html: true, placement: placement, |