Skip to content
Snippets Groups Projects
Unverified Commit 88b029ef authored by Alex Reisner's avatar Alex Reisner Committed by GitHub
Browse files

Merge pull request #1265 from MiniCodeMonkey/patch-1

Update geocod.io to use most recent API version
parents 939efe02 c8214e09
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ module Geocoder::Lookup
def query_url(query)
path = query.reverse_geocode? ? "reverse" : "geocode"
"#{protocol}://api.geocod.io/v1/#{path}?#{url_query_string(query)}"
"#{protocol}://api.geocod.io/v1.2/#{path}?#{url_query_string(query)}"
end
def results(query)
......
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