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

Merge branch 'master' of git://github.com/ryanLonac/geocoder into ryanLonac-master

parents 23449f62 c816ce32
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,7 @@ module Geocoder::Lookup
:jsonp => 1,
:callback => "test"
}
params.update({:auth => Geocoder::Configuration.api_key}) if Geocoder::Configuration.api_key.present?
if reverse
lat,lon = query.split(',')
params[:latt] = lat
......
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