projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b64fc35
)
mini fix
author
Frederik Ramm
<frederik@remote.org>
Sun, 9 Nov 2008 12:06:05 +0000
(12:06 +0000)
committer
Frederik Ramm
<frederik@remote.org>
Sun, 9 Nov 2008 12:06:05 +0000
(12:06 +0000)
app/models/way.rb
patch
|
blob
|
history
diff --git
a/app/models/way.rb
b/app/models/way.rb
index c9e695b32e0193855b5e2b0c0cdf5acc59cd08a8..be6531def4bdeac9b71debd94105282e4379fc93 100644
(file)
--- a/
app/models/way.rb
+++ b/
app/models/way.rb
@@
-113,7
+113,7
@@
class Way < ActiveRecord::Base
end
else
# otherwise, manually go to the db to check things
- if nd.node
.visible?
and nd.node.visible?
+ if nd.node and nd.node.visible?
ordered_nodes[nd.sequence_id] = nd.node_id.to_s
end
end