projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
88f469e
)
Don't preload nodes as it seem to break ways with duplicate nodes.
author
Tom Hughes
<tom@compton.nu>
Sun, 3 Feb 2008 16:28:02 +0000
(16:28 +0000)
committer
Tom Hughes
<tom@compton.nu>
Sun, 3 Feb 2008 16:28:02 +0000
(16:28 +0000)
app/controllers/amf_controller.rb
patch
|
blob
|
history
diff --git
a/app/controllers/amf_controller.rb
b/app/controllers/amf_controller.rb
index 212343607be1940791885e7ed5f93092cc9d5a92..9592cf94100e61b35f98074e0f411d74dfe929fb 100644
(file)
--- a/
app/controllers/amf_controller.rb
+++ b/
app/controllers/amf_controller.rb
@@
-167,7
+167,7
@@
class AmfController < ApplicationController
RAILS_DEFAULT_LOGGER.info(" Message: getway, id=#{wayid}")
RAILS_DEFAULT_LOGGER.info(" Message: getway, id=#{wayid}")
- way = Way.find(wayid
, :include => :nodes
)
+ way = Way.find(wayid)
long_array = []
lat_array = []
points = []
long_array = []
lat_array = []
points = []