浏览代码

Updated services.yml and removed key from google.

Jean Sumara Leopoldo 4 年之前
父节点
当前提交
9cf2e05b57
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1 4
      Resources/config/services.yml

+ 1 - 4
Resources/config/services.yml

@@ -1,9 +1,6 @@
-parameters:
-    googlemaps_api_key: AIzaSyDYPe_h1T_5ThFNZukx05FJY21IAejj_LA
-
 twig:
     globals:
-        script_google_maps: 'https://maps.googleapis.com/maps/api/js?v=3&key=%googlemaps_api_key%'
+        script_google_maps: 'https://maps.googleapis.com/maps/api/js?v=3'
     form_themes:
         - 'MapBundle:Form/Type:location_widget.html.twig'
         - 'MapBundle:Form/Type:remote_map_widget.html.twig'