Skip to content

Commit

Permalink
Edited sunspot/lib/sunspot/type.rb via GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
justinko committed Aug 1, 2011
1 parent deafdd5 commit a759857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sunspot/lib/sunspot/type.rb
Expand Up @@ -360,7 +360,7 @@ def indexed_name(name)
end

def to_indexed(value)
"#{value.lat.to_f},#{value.lon.to_f}"
"#{value.lat.to_f},#{value.lng.to_f}"
end
end

Expand Down

0 comments on commit a759857

Please sign in to comment.