Skip to content
Browse files

Merge pull request #13 from activate/patch-gmaps-19

Reviewed and merged
  • Loading branch information...
2 parents 0fd8070 + 72bd3e2 commit 017d46d5731740fa43e4d15f30e523815918b207 @reidab reidab committed Dec 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/helpers/application_helper.rb
View
2 app/helpers/application_helper.rb
@@ -45,7 +45,7 @@ def datetime_format(time,format)
# the little overview map obscures such a big chunk of the main map that
# it's likely to hide some of our markers, so it's off by default.
def google_map(locatable_items, options={})
- return nil if defined?(GoogleMap::GOOGLE_APPLICATION_ID) == nil
+ return nil if defined?(GOOGLE_APPLICATION_ID) == nil
options[:controls] ||= [:zoom, :scale, :type] # the default, minus :overview
options[:zoom] ||= 14

0 comments on commit 017d46d

Please sign in to comment.
Something went wrong with that request. Please try again.