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

Allow bearing to be omitted.

parent 929151ec
No related branches found
No related tags found
No related merge requests found
...@@ -183,7 +183,7 @@ module Geocoder::Store ...@@ -183,7 +183,7 @@ module Geocoder::Store
## ##
# Generate the SELECT clause. # Generate the SELECT clause.
# #
def select_clause(columns, distance, bearing) def select_clause(columns, distance, bearing = nil)
if columns == :geo_only if columns == :geo_only
clause = "" clause = ""
else else
......
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