Using Google Map Headers (YM4R) on Heroku
- by Kevin
I have the following at the top of my view:
<%= GMap.header %>
Heroku is giving me an ActionView::TemplateError on that line.... this works on my own machine but not on Heroku.... why is that? Is there something about Heroku that doesn't allow?
In the final compile on the browser, the above code translates into this on the client side:
<script src="http://maps.google.com/maps?file=api&v=2.x&key=XXXXX;hl=&sensor=false" type="text/javascript">
</script>
<script src="/javascripts/ym4r-gm.js" type="text/javascript"></script>