From 4ee3fe1217b405f1db8b33e34c4cf5881ded32ec Mon Sep 17 00:00:00 2001 From: Braulio Bhavamitra Date: Fri, 9 Aug 2013 10:53:08 -0300 Subject: [PATCH] Use https for google maps api --- app/views/blocks/location.html.erb | 2 +- app/views/maps/edit_location.rhtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/blocks/location.html.erb b/app/views/blocks/location.html.erb index d0ceae4..ca178ee 100644 --- a/app/views/blocks/location.html.erb +++ b/app/views/blocks/location.html.erb @@ -1,7 +1,7 @@ <% if profile.lat %> <%= block_title block.title %>
- +
<% else %> diff --git a/app/views/maps/edit_location.rhtml b/app/views/maps/edit_location.rhtml index 6f2f4dc..0b61d35 100644 --- a/app/views/maps/edit_location.rhtml +++ b/app/views/maps/edit_location.rhtml @@ -29,5 +29,5 @@ <% end %> -<%= content_tag('script', '', :src => "http://maps.googleapis.com/maps/api/js?sensor=false", :type => 'text/javascript') %> +<%= content_tag('script', '', :src => "https://maps.googleapis.com/maps/api/js?sensor=false", :type => 'text/javascript') %> <%= content_tag('script', '', :src => url_for(:controller => :maps, :action => :google_map), :type => 'text/javascript') %> -- libgit2 0.21.2