load Twitter image over https

This commit is contained in:
Josh 2018-06-21 10:17:46 -04:00
parent f6bff7a58f
commit 54adff3779
1 changed files with 1 additions and 1 deletions

View File

@ -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)