lib/fonts/rails/action_view/base.rb in fonts-rails-0.0.6 vs lib/fonts/rails/action_view/base.rb in fonts-rails-0.0.7
- old
+ new
@@ -7,10 +7,10 @@
tag(
:link,
{
rel: :stylesheet,
type: Mime::CSS,
- href: "http://fonts.googleapis.com/css?family=#{family}"
+ href: "#{request.protocol}fonts.googleapis.com/css?family=#{family}"
},
false,
false
)
end