Sha256: 8104997da171c2a170b430de5a57aee237e38e1253551da819186a05f5edc549
Contents?: true
Size: 401 Bytes
Versions: 1
Compression:
Stored size: 401 Bytes
Contents
module ActiveAdmin module Views class GoogleMapProxy < LatlngProxy def build(_, *args, &_block) super _, *args, &_block @api_key_name = 'key' @template_name = 'google.html' @script_html = "<script src=\"https://maps.googleapis.com/maps/api/js?language=%s%s&libraries=places&callback=googleMapObject.init\" async defer></script>" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
activeadmin_latlng-1.2.2 | lib/activeadmin/views/google_map_proxy.rb |