diff --git a/app/models/web_link.rb b/app/models/web_link.rb index 4211e6a..375e02d 100644 --- a/app/models/web_link.rb +++ b/app/models/web_link.rb @@ -35,7 +35,7 @@ class WebLink tmp = self.url_translations[locale] temp_url[locale] = tmp unless tmp.match(/^http(s|):\/\//) || tmp.blank? || tmp.start_with?('/') - temp_url[locale] = 'http://' + tmp + temp_url[locale] = 'https://' + tmp end end self.url_translations = temp_url