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

Fix: incorrect call to Geocoder::Lookup.search.

Wrong number of arguments for reverse geocode search.
parent 4b4a686d
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ module Geocoder ...@@ -13,7 +13,7 @@ module Geocoder
# #
def search(*args) def search(*args)
if args.size == 2 if args.size == 2
Lookup.search(args[0], args[1], true) Lookup.search("#{args[0]},#{args[1]}", true)
else else
Lookup.search(args[0], false) Lookup.search(args[0], false)
end end
......
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