projects
/
rails.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added test for relations_for_node where the relation had been deleted.
[rails.git]
/
app
/
controllers
/
relation_controller.rb
diff --git
a/app/controllers/relation_controller.rb
b/app/controllers/relation_controller.rb
index 7ce58dae60d6c63dbf3ac4df128e2c567e31492b..da5129467ff1e72caba2f35da5815804eb285008 100644
(file)
--- a/
app/controllers/relation_controller.rb
+++ b/
app/controllers/relation_controller.rb
@@
-185,7
+185,7
@@
class RelationController < ApplicationController
doc = OSM::API.new.get_xml_doc
Relation.find(relationids).each do |relation|
- doc.root << relation.to_xml_node
+ doc.root << relation.to_xml_node
if relation.visible
end
render :text => doc.to_s, :content_type => "text/xml"