Made latlng accessible to liquid

Chris Eidhof %!s(int64=9) %!d(string=hace) años
padre
commit
c278edb686
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/location.rb

+ 1 - 1
lib/location.rb

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