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}