diff options
author | Stan Hu <stanhu@gmail.com> | 2016-03-19 12:30:00 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-03-19 22:47:27 -0700 |
commit | 68fa4de6e39dfa036bb74eeb01fa569c716aacdf (patch) | |
tree | abe48e163c3f6dfe6d199410617ec71b38a0a82e /app/helpers | |
parent | 01fe50a72513a88f2168c8c0a649661b1382a42b (diff) | |
download | gitlab-ce-68fa4de6e39dfa036bb74eeb01fa569c716aacdf.tar.gz |
Make HTTP(s) label consistent on clone bar
Sites that use http:// for the external_url should always display HTTP on
the clone bar. Similarly, sites that use https:// should show HTTPS.
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/projects_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb index 5473419ef24..322a7021fdd 100644 --- a/app/helpers/projects_helper.rb +++ b/app/helpers/projects_helper.rb @@ -209,7 +209,7 @@ module ProjectsHelper def default_clone_protocol if !current_user || current_user.require_ssh_key? - "http" + gitlab_config.protocol else "ssh" end |