From c09ffa832c089c2b647bdfc7effcb0d5ce4156bf Mon Sep 17 00:00:00 2001 From: Will Marshall Date: Thu, 5 Jun 2014 17:16:19 +1000 Subject: [PATCH] Fixing gmaps --- app/views/layouts/darkswarm.html.haml | 1 + app/views/map/index.html.haml | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/views/layouts/darkswarm.html.haml b/app/views/layouts/darkswarm.html.haml index 794089a8dc..d34e63fa53 100644 --- a/app/views/layouts/darkswarm.html.haml +++ b/app/views/layouts/darkswarm.html.haml @@ -9,6 +9,7 @@ %link{href: "http://fonts.googleapis.com/css?family=Open+Sans:400,700", rel: "stylesheet", type: "text/css"}/ = yield :scripts + %script{src: "//maps.googleapis.com/maps/api/js?sensor=false"} = stylesheet_link_tag "darkswarm/all" = javascript_include_tag "darkswarm/all" diff --git a/app/views/map/index.html.haml b/app/views/map/index.html.haml index 51df083414..9fec2290d8 100644 --- a/app/views/map/index.html.haml +++ b/app/views/map/index.html.haml @@ -1,6 +1,3 @@ -- content_for :scripts do - %script{src: "//maps.googleapis.com/maps/api/js?sensor=false"} - = inject_json "enterprisesForMap" , "enterprises_for_map", collection: @enterprises .ofn-map-container{"fill-vertical" => true}