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

Return [] instead of nil for consistency.

parent 77ec803f
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ module Geocoder::Orm
#
def to_coordinates
coords = send(self.class.geocoder_options[:coordinates])
coords.is_a?(Array) ? coords.reverse : nil
coords.is_a?(Array) ? coords.reverse : []
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