Fix way search.
This commit is contained in:
parent
dcad29dad0
commit
cd72ee9a66
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ class SearchController < ApplicationController
|
|||
# Fetch any segments needed for our ways (only have matching segments so far)
|
||||
seg_ids = Array.new
|
||||
ways.each do |way|
|
||||
seg_ids += way.segments
|
||||
seg_ids += way.segs
|
||||
end
|
||||
segments += Segment.find(seg_ids)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue