diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-19 05:05:38 -0700 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-19 05:05:38 -0700 |
commit | ffcec903416bd29882b943345c0f3fc4a05d1a58 (patch) | |
tree | 4720bb283ab0ffd6091ca1365667bcf92430cd72 /app/helpers | |
parent | 1147c97cfa2710c833c4eec29cde3eb9d5bd70ea (diff) | |
parent | 48a7373b9e490522bd98e60f42af45cee9b7a299 (diff) | |
download | gitlab-ci-ffcec903416bd29882b943345c0f3fc4a05d1a58.tar.gz |
Merge pull request #162 from gottwald/gravatar-https-fix
Serving gravatar images form an https source
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/application_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 1888710..cb71770 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -4,7 +4,7 @@ module ApplicationHelper end def gravatar_icon(user_email = '', size = 40) - gravatar_url = 'http://www.gravatar.com/avatar/%{hash}?s=%{size}&d=mm' + gravatar_url = 'https://www.gravatar.com/avatar/%{hash}?s=%{size}&d=mm' user_email.strip! sprintf gravatar_url, hash: Digest::MD5.hexdigest(user_email.downcase), size: size end |