Browse Source

Made latlng accessible to liquid

Chris Eidhof 10 years ago
parent
commit
c278edb686
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/location.rb

+ 1 - 1
lib/location.rb

@@ -104,7 +104,7 @@ class Location
 end
 
 class LocationDrop
-  KEYS = Location.members.map(&:to_s).concat(%w[latitude longitude])
+  KEYS = Location.members.map(&:to_s).concat(%w[latitude longitude latlng])
 
   def before_method(key)
     if KEYS.include?(key)