lib/geocoder/lookups/yandex.rb in geocoder-1.2.1 vs lib/geocoder/lookups/yandex.rb in geocoder-1.2.2

- old
+ new

@@ -44,10 +44,10 @@ q = query.sanitized_text end { :geocode => q, :format => "json", - :plng => "#{configuration.language}", # supports ru, uk, be + :plng => "#{query.language || configuration.language}", # supports ru, uk, be :key => configuration.api_key }.merge(super) end end end