Skip to content
Snippets Groups Projects
Commit ac1b40ea authored by Johannes Würbach's avatar Johannes Würbach
Browse files

Removed state from city. Fixes #283

parent 44a6212d
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ module Geocoder::Result ...@@ -25,7 +25,7 @@ module Geocoder::Result
end end
def city def city
%w[city town village hamlet state].each do |key| %w[city town village hamlet].each do |key|
return @data['address'][key] if @data['address'].key?(key) return @data['address'][key] if @data['address'].key?(key)
end end
return nil return nil
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment