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

Include custom :params in query options.

Fixes #1273.
parent 518a1498
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ module Geocoder
return
end
query_options = [:lookup, :ip_lookup, :language].inject({}) do |hash, key|
query_options = [:lookup, :ip_lookup, :language, :params].inject({}) do |hash, key|
if options.has_key?(key)
val = options[key]
hash[key] = val.respond_to?(:call) ? val.call(self) : val
......
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