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

Merge pull request #1191 from freyfogle/patch-1

add support for abbrv param
parents 830ee83c d5b4fa46
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ module Geocoder::Lookup
:language => (query.language || configuration.language)
}.merge(super)
[:countrycode, :min_confidence, :no_dedupe, :no_annotations, :no_record, :limit].each do |option|
[:abbrv, :countrycode, :min_confidence, :no_dedupe, :no_annotations, :no_record, :limit].each do |option|
unless (option_value = query.options[option]).nil?
params[option] = option_value
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