Over a million developers have joined DZone.

YM4R Configuration With Multiple Domains

DZone's Guide to

YM4R Configuration With Multiple Domains

Free Resource
Need to put domains in config/gmaps_api_key.yml

 host.com: longapikeythatmakesnosense
 anotherhost.com: jsdkfljskfljsgklsjgkl

When printing out the header information you need to pass the param :host. request.host should do the job. 

<%= GMap.header(:host => request.host) %>

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}