From 54adff3779c00715b63b1740e5116c19e9a384ef Mon Sep 17 00:00:00 2001 From: Josh Date: Thu, 21 Jun 2018 10:17:46 -0400 Subject: [PATCH] load Twitter image over https --- app/models/user.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/user.rb b/app/models/user.rb index 2f92ee0c..2c63c7b3 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -57,7 +57,7 @@ class User < ApplicationRecord end def twitter_image(auth) - auth['info']['image'].gsub("_normal", "") + auth['info']['image'].gsub("http", "https").gsub("_normal", "") end def google_name(auth)