Skip to content
Snippets Groups Projects
Commit be30749d authored by Alex Reisner's avatar Alex Reisner
Browse files

Merge branch 'master' of github.com:alexreisner/geocoder

parents 1de2bb92 74150c5f
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ module Geocoder::Result
end
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)
end
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