apneadiving / Google-Maps-for-Rails

Enables easy Google map + overlays creation in Ruby apps
https://apneadiving.github.io/
MIT License
2.26k stars 382 forks source link

Add ability to set layout scripts block name in config #355

Closed sandric closed 11 years ago

sandric commented 11 years ago

I moved scripts block name to config, because I think its a bad idea to hardcode block where should js be. For example if I want it to go in head or body, and I do not want to create another one in layout file. Or, lets say I actually do not have access to layout, lets say it is created by some factory code, like in active admin.

apneadiving commented 11 years ago

ok why not!

sandric commented 11 years ago

yeap!)