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

Fix bug in Nominatim result #poi method.

parent 6a02456f
No related branches found
No related tags found
No related merge requests found
......@@ -5,8 +5,9 @@ module Geocoder::Result
def poi
%w[stadium bus_stop tram_stop].each do |key|
@data['address'][key] if @data['address'].key?(key)
return @data['address'][key] if @data['address'].key?(key)
end
return nil
end
def house_number
......
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